mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-26 10:48:35 +02:00
plugins/neo-tree: use gitPackage
This commit is contained in:
parent
6945c6c17f
commit
38bc0b88e9
2 changed files with 8 additions and 1 deletions
|
@ -62,6 +62,11 @@ in
|
|||
default = pkgs.vimPlugins.nvim-web-devicons;
|
||||
};
|
||||
|
||||
gitPackage = helpers.mkPackageOption {
|
||||
name = "git";
|
||||
default = pkgs.git;
|
||||
};
|
||||
|
||||
sources =
|
||||
helpers.defaultNullOpts.mkListOf types.str
|
||||
[
|
||||
|
@ -1128,6 +1133,7 @@ in
|
|||
extraConfigLua = ''
|
||||
require('neo-tree').setup(${helpers.toLuaObject setupOptions})
|
||||
'';
|
||||
extraPackages = [ pkgs.git ];
|
||||
|
||||
extraPackages = [ cfg.gitPackage ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -442,6 +442,7 @@
|
|||
plugins.neo-tree = {
|
||||
enable = true;
|
||||
iconsPackage = null;
|
||||
gitPackage = null;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue