nix-community.nixvim/plugins/by-name/fugitive/default.nix
2024-12-22 10:04:17 +00:00

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