diff --git a/lua/catppuccin/config.lua b/lua/catppuccin/config.lua index c19489c..6ee4151 100644 --- a/lua/catppuccin/config.lua +++ b/lua/catppuccin/config.lua @@ -37,6 +37,7 @@ config.options = { nvimtree = { enabled = true, show_root = false, + transparent_panel = false, }, which_key = false, indent_blankline = { @@ -53,8 +54,8 @@ config.options = { lightspeed = false, ts_rainbow = false, hop = false, - notify = true, - telekasten = true, + notify = true, + telekasten = true, }, } diff --git a/lua/catppuccin/core/integrations/nvimtree.lua b/lua/catppuccin/core/integrations/nvimtree.lua index 59d6c8f..3ce4b27 100644 --- a/lua/catppuccin/core/integrations/nvimtree.lua +++ b/lua/catppuccin/core/integrations/nvimtree.lua @@ -9,10 +9,11 @@ function M.get(cp) root_dir_color = cp.blue end + return { NvimTreeFolderName = { fg = cp.blue }, NvimTreeFolderIcon = { fg = cp.blue }, - NvimTreeNormal = { fg = cp.white, bg = cp.black1 }, + NvimTreeNormal = { fg = cp.white, bg = cnf.transparent_panel and "NONE" or cp.black1 }, NvimTreeOpenedFolderName = { fg = cp.blue }, NvimTreeEmptyFolderName = { fg = cp.blue }, NvimTreeIndentMarker = { fg = cp.gray0 },