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:
parent
cd0443e166
commit
629f9d75f8
67 changed files with 276 additions and 338 deletions
|
|
@ -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; {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue