mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 17:28:39 +02:00
plugins/git-worktree: use gitPackage
This commit is contained in:
parent
d4bcebc7ca
commit
831c814bb3
2 changed files with 13 additions and 1 deletions
|
@ -16,6 +16,11 @@ in
|
|||
|
||||
package = helpers.mkPluginPackageOption "git-worktree" pkgs.vimPlugins.git-worktree-nvim;
|
||||
|
||||
gitPackage = helpers.mkPackageOption {
|
||||
name = "git";
|
||||
default = pkgs.git;
|
||||
};
|
||||
|
||||
enableTelescope = mkEnableOption "telescope integration";
|
||||
|
||||
changeDirectoryCommand = helpers.defaultNullOpts.mkStr "cd" ''
|
||||
|
@ -69,7 +74,7 @@ in
|
|||
plenary-nvim
|
||||
];
|
||||
|
||||
extraPackages = [ pkgs.git ];
|
||||
extraPackages = [ cfg.gitPackage ];
|
||||
|
||||
extraConfigLua =
|
||||
let
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue