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
|
@ -14,6 +14,11 @@ lib.nixvim.plugins.mkVimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.AndresBermeoMarinelli ];
|
||||
|
||||
dependencies = [
|
||||
"git"
|
||||
"lazygit"
|
||||
];
|
||||
|
||||
imports = [
|
||||
# TODO: added 2025-04-07, remove after 25.05
|
||||
(lib.nixvim.mkRemovedPackageOptionModule {
|
||||
|
@ -80,12 +85,4 @@ lib.nixvim.plugins.mkVimPlugin {
|
|||
use_custom_config_file_path = 0;
|
||||
config_file_path = [ ];
|
||||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
dependencies = {
|
||||
git.enable = lib.mkDefault true;
|
||||
lazygit.enable = lib.mkDefault true;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue