Replies: 1 comment 1 reply
-
You'll need to specify name highlighting for git files and icons. See _G.setup = function()
vim.api.nvim_set_hl(0, "NvimTreeGitFileIgnoredHL", { bg = "red" })
require("nvim-tree").setup({
renderer = {
highlight_git = "all",
},
}) Tip: run |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
NvimTreeGitFileIgnoredHL
/NvimTreeFileIgnored
are the highlight groups Git-ignored files. However, they don't seem to actually be used for Git-ignored files.Neovim version
Operating system and version
EndeavourOS
Windows variant
No response
nvim-tree version
41e3abf
Clean room replication
Steps to reproduce
nvim -nu /tmp/nvt-min.lua
(in a repository with files that are Git-ignored):NvimTreeOpen
I
to see Git-ignored filesExpected behavior
Git-ignored file names have a red color.
Actual behavior
Git-ignored file names have the same highlight as other files
Beta Was this translation helpful? Give feedback.
All reactions