mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-17 09:21:19 +00:00
lazy: use listOf plugins instead of attr
This commit is contained in:
parent
2a7a268c1f
commit
52f1675ca6
3 changed files with 23 additions and 16 deletions
|
|
@ -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 ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue