feat: match new nvimtree.lua module name in othere modules

This commit is contained in:
NotAShelf 2023-07-30 11:41:09 +03:00
parent 5c7546a8fa
commit 74d7b394b5
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
2 changed files with 2 additions and 7 deletions

View file

@ -23,7 +23,7 @@ in {
always_divide_middle = true,
globalstatus = ${boolToString cfg.globalStatus},
ignore_focus = {'NvimTree'},
extensions = {${optionalString config.vim.filetree.nvimTreeLua.enable "'nvim-tree'"}},
extensions = {${optionalString config.vim.filetree.nvimTree.enable "'nvim-tree'"}},
refresh = {
statusline = ${toString cfg.refresh.statusline},
tabline = ${toString cfg.refresh.tabline},
@ -60,11 +60,6 @@ in {
}
},
''}
extensions = {${
if (config.vim.filetree.nvimTreeLua.enable)
then "\"nvim-tree\""
else ""
}},
}
'';
};

View file

@ -95,7 +95,7 @@ in {
${
# TODO: This probably will need to be reworked for custom-keybinds
if config.vim.filetree.nvimTreeLua.enable
if config.vim.filetree.nvimTree.enable
then ''
-- NvimTree
["<leader>t"] = { name = "+NvimTree" },