mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
24 lines
443 B
Nix
24 lines
443 B
Nix
{
|
|
lib,
|
|
helpers,
|
|
pkgs,
|
|
...
|
|
}:
|
|
lib.nixvim.plugins.mkVimPlugin {
|
|
name = "fugitive";
|
|
packPathName = "vim-fugitive";
|
|
package = "vim-fugitive";
|
|
|
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
|
|
|
# In typical tpope fashion, this plugin has no config options
|
|
extraOptions = {
|
|
gitPackage = lib.mkPackageOption pkgs "git" {
|
|
nullable = true;
|
|
};
|
|
};
|
|
|
|
extraConfig = cfg: {
|
|
extraPackages = [ cfg.gitPackage ];
|
|
};
|
|
}
|