lazy: use listOf plugins instead of attr

This commit is contained in:
Pei Yang Ching 2024-08-24 14:28:14 +02:00
commit 52f1675ca6
3 changed files with 23 additions and 16 deletions

View file

@ -21,8 +21,8 @@ in {
};
vim.lazy = {
plugins = {
nvim-tree-lua = {
plugins = [
{
package = "nvim-tree-lua";
setupModule = "nvim-tree";
inherit (cfg) setupOpts;
@ -34,8 +34,8 @@ in {
(mkLznBinding ["n"] cfg.mappings.findFile ":NvimTreeFindFile<cr>" mappings.findFile.description)
(mkLznBinding ["n"] cfg.mappings.focus ":NvimTreeFocus<cr>" mappings.focus.description)
];
};
};
}
];
};
vim.pluginRC.nvimtreelua = entryAnywhere ''