1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-09 18:41:07 +01:00

treewide: remove with lib;

This commit is contained in:
Gaetan Lepage 2025-12-07 12:28:40 +01:00 committed by Gaétan Lepage
parent cd0443e166
commit 629f9d75f8
67 changed files with 276 additions and 338 deletions

View file

@ -3,16 +3,15 @@
config,
...
}:
with lib;
lib.nixvim.plugins.mkNeovimPlugin {
name = "refactoring";
package = "refactoring-nvim";
description = "The Refactoring library based off the Refactoring book by Martin Fowler.";
maintainers = [ maintainers.MattSturgeon ];
maintainers = [ lib.maintainers.MattSturgeon ];
extraOptions = {
enableTelescope = mkEnableOption "telescope integration";
enableTelescope = lib.mkEnableOption "telescope integration";
};
extraConfig = cfg: {
@ -25,7 +24,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
'';
};
plugins.telescope.enabledExtensions = mkIf cfg.enableTelescope [ "refactoring" ];
plugins.telescope.enabledExtensions = lib.mkIf cfg.enableTelescope [ "refactoring" ];
};
settingsOptions = with lib.types; {