diff --git a/neovim/config/plugins/catppuccin.lua b/neovim/config/plugins/catppuccin.lua index b126852..f3f5386 100644 --- a/neovim/config/plugins/catppuccin.lua +++ b/neovim/config/plugins/catppuccin.lua @@ -7,6 +7,14 @@ require('catppuccin').setup({ light = 'latte', dark = 'macchiato', }, + custom_highlights = function(colors) + return { + -- CursorLine sits a shade away from the tree's own mantle background, + -- so the file you're viewing is invisible in nvim-tree. Give the tree + -- a band you can actually pick out. + NvimTreeCursorLine = { bg = colors.surface1 }, + } + end, }) vim.cmd.colorscheme('catppuccin')