mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-02 21:34:33 +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
|
@ -21,6 +21,8 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.khaneliman ];
|
||||
|
||||
dependencies = [ "ripgrep" ];
|
||||
|
||||
imports = [
|
||||
# TODO: Added 2023-11-06, remove after 24.11
|
||||
(mkRemovedOptionModule [
|
||||
|
@ -432,8 +434,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
}
|
||||
];
|
||||
|
||||
dependencies.ripgrep.enable = lib.mkDefault true;
|
||||
|
||||
keymaps = lib.pipe cfg.keymaps [
|
||||
(filterAttrs (n: keymap: keymap != null && keymap.key != null))
|
||||
(mapAttrsToList (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue