plugins/neo-tree: use gitPackage

This commit is contained in:
Austin Horstman 2024-08-29 14:16:29 -05:00
parent 6945c6c17f
commit 38bc0b88e9
No known key found for this signature in database
2 changed files with 8 additions and 1 deletions

View file

@ -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 ];
};
}

View file

@ -442,6 +442,7 @@
plugins.neo-tree = {
enable = true;
iconsPackage = null;
gitPackage = null;
};
};
}