mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/committia: use gitPackage
This commit is contained in:
parent
38bc0b88e9
commit
82b899ab6d
2 changed files with 18 additions and 1 deletions
|
@ -9,7 +9,6 @@ helpers.vim-plugin.mkVimPlugin config {
|
|||
originalName = "committia.vim";
|
||||
defaultPackage = pkgs.vimPlugins.committia-vim;
|
||||
globalPrefix = "committia_";
|
||||
extraPackages = [ pkgs.git ];
|
||||
|
||||
maintainers = [ helpers.maintainers.alisonjenkins ];
|
||||
|
||||
|
@ -47,4 +46,15 @@ helpers.vim-plugin.mkVimPlugin config {
|
|||
Minimum height of a status window.
|
||||
'';
|
||||
};
|
||||
|
||||
extraOptions = {
|
||||
gitPackage = helpers.mkPackageOption {
|
||||
name = "git";
|
||||
default = pkgs.git;
|
||||
};
|
||||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
extraPackages = [ cfg.gitPackage ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -19,4 +19,11 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
no-packages = {
|
||||
plugins.committia = {
|
||||
enable = true;
|
||||
gitPackage = null;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue