Skip to content

File has different text color #1680

Answered by timii
timii asked this question in Q&A
Oct 23, 2022 · 2 comments · 11 replies
Discussion options

You must be logged in to vote

Seems like I found a solution. After testing out a few other plugin files where the highlight group could be overwritten, I found out that my theme (gruvbox) was overriding the NvimTreeExecFile value for whatever reason. After adding the following line right after setting my theme, the new text color value was not overwritten after restarting:

vim.api.nvim_set_hl(0, 'NvimTreeExecFile', { fg = "#ebdbb2" }

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
6 replies
@alex-courtis
Comment options

@timii
Comment options

@alex-courtis
Comment options

@timii
Comment options

@timii
Comment options

Comment options

You must be logged in to vote
5 replies
@alex-courtis
Comment options

@timii
Comment options

@pleshevskiy
Comment options

@timii
Comment options

@alex-courtis
Comment options

Answer selected by timii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants