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
|
@ -27,6 +27,8 @@ lib.nixvim.plugins.mkVimPlugin {
|
|||
})
|
||||
];
|
||||
|
||||
dependencies = [ "typst" ];
|
||||
|
||||
extraOptions = {
|
||||
keymaps = {
|
||||
silent = mkOption {
|
||||
|
@ -40,8 +42,6 @@ lib.nixvim.plugins.mkVimPlugin {
|
|||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
dependencies.typst.enable = lib.mkDefault true;
|
||||
|
||||
keymaps =
|
||||
with cfg.keymaps;
|
||||
helpers.keymaps.mkKeymaps
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue