nix-community.nixvim/plugins/by-name/fugitive/default.nix
Austin Horstman a7012e7864
treewide: originalName -> packPathName
We used to only think of it as the plugin repo's name, but we have been
needing to use it for the name of the plugin's packpath location.
2024-12-13 21:29:00 -06:00

24 lines
443 B
Nix

{
lib,
helpers,
pkgs,
...
}:
helpers.vim-plugin.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 ];
};
}