mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins: use mk{Neovim,Vim}Plugin's dependencies parameter
This commit is contained in:
parent
b66559d8ef
commit
1a64636839
49 changed files with 147 additions and 207 deletions
|
@ -43,6 +43,8 @@ lib.nixvim.plugins.mkVimPlugin {
|
|||
})
|
||||
];
|
||||
|
||||
dependencies = [ "git" ];
|
||||
|
||||
extraOptions = {
|
||||
recommendedSettings = lib.mkOption {
|
||||
type = types.bool;
|
||||
|
@ -63,8 +65,6 @@ lib.nixvim.plugins.mkVimPlugin {
|
|||
foldtext = "gitgutter#fold#foldtext";
|
||||
};
|
||||
|
||||
dependencies.git.enable = lib.mkDefault true;
|
||||
|
||||
extraPackages = [
|
||||
cfg.grepPackage
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue