diff --git a/modules/statusline/lualine/config.nix b/modules/statusline/lualine/config.nix index cff8596..9b10824 100644 --- a/modules/statusline/lualine/config.nix +++ b/modules/statusline/lualine/config.nix @@ -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 "" - }}, } ''; }; diff --git a/modules/utility/binds/which-key/config.nix b/modules/utility/binds/which-key/config.nix index 8b0fa6c..506d888 100644 --- a/modules/utility/binds/which-key/config.nix +++ b/modules/utility/binds/which-key/config.nix @@ -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 ["t"] = { name = "+NvimTree" },