mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-24 12:45:24 +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
|
@ -10,6 +10,8 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
maintainers = [ maintainers.GaetanLepage ];
|
||||
|
||||
dependencies = [ "git" ];
|
||||
|
||||
imports = [
|
||||
# TODO: added 2025-04-07, remove after 25.05
|
||||
(lib.nixvim.mkRemovedPackageOptionModule {
|
||||
|
@ -18,10 +20,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
})
|
||||
];
|
||||
|
||||
extraConfig = {
|
||||
dependencies.git.enable = lib.mkDefault true;
|
||||
};
|
||||
|
||||
settingsOptions = {
|
||||
default_mappings =
|
||||
helpers.defaultNullOpts.mkNullable (with types; either bool (attrsOf str)) true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue