Skip to content

Commit

Permalink
add highlight override for nvim-tree
Browse files Browse the repository at this point in the history
  • Loading branch information
jakewies committed Nov 29, 2021
1 parent 1f11e2d commit c0608aa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions nvim/.config/nvim/lua/jakewies/nvim-tree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,12 @@ require('nvim-tree').setup {
hide_root_folder = true
}
}

-- This highlight override is based on the tokyonight
-- theme. Changing the theme will cause NvimTreeEndOfBuffer to break
vim.cmd[[
augroup NvimTreeHighlightGroups
autocmd!
autocmd BufEnter,ColorScheme * highlight NvimTreeEndOfBuffer guifg=#1f2335
augroup END
]]

0 comments on commit c0608aa

Please sign in to comment.