mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/lazy: use gitPackage
This commit is contained in:
parent
ce6573424d
commit
4fe95d4502
2 changed files with 14 additions and 1 deletions
|
@ -41,6 +41,11 @@ in
|
|||
plugins.lazy = {
|
||||
enable = mkEnableOption "lazy.nvim";
|
||||
|
||||
gitPackage = helpers.mkPackageOption {
|
||||
name = "git";
|
||||
default = pkgs.git;
|
||||
};
|
||||
|
||||
plugins =
|
||||
with types;
|
||||
let
|
||||
|
@ -152,7 +157,8 @@ in
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
extraPlugins = [ pkgs.vimPlugins.lazy-nvim ];
|
||||
extraPackages = [ pkgs.git ];
|
||||
|
||||
extraPackages = [ cfg.gitPackage ];
|
||||
|
||||
extraConfigLua =
|
||||
let
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue