mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
plugins/fugitive: use gitPackage
This commit is contained in:
parent
82b899ab6d
commit
c96b46f44b
1 changed files with 10 additions and 1 deletions
|
@ -9,9 +9,18 @@ helpers.vim-plugin.mkVimPlugin config {
|
||||||
name = "fugitive";
|
name = "fugitive";
|
||||||
originalName = "vim-fugitive";
|
originalName = "vim-fugitive";
|
||||||
defaultPackage = pkgs.vimPlugins.vim-fugitive;
|
defaultPackage = pkgs.vimPlugins.vim-fugitive;
|
||||||
extraPackages = [ pkgs.git ];
|
|
||||||
|
|
||||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||||
|
|
||||||
# In typical tpope fashion, this plugin has no config options
|
# In typical tpope fashion, this plugin has no config options
|
||||||
|
extraOptions = {
|
||||||
|
gitPackage = helpers.mkPackageOption {
|
||||||
|
name = "git";
|
||||||
|
default = pkgs.git;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
extraConfig = cfg: {
|
||||||
|
extraPackages = [ cfg.gitPackage ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue