mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-29 20:04:28 +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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue