Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dark green against dark background #8

Open
de-abreu opened this issue Mar 13, 2022 · 1 comment
Open

Dark green against dark background #8

de-abreu opened this issue Mar 13, 2022 · 1 comment

Comments

@de-abreu
Copy link

Hi there,

For some reason modified files are listed in the Explorer with a dark, mush green. This is out of line with the rest of the theme, that uses bright colors as highlights. Could this behavior be changed? Thanks.

image

@SerhatTeker
Copy link

They are aligned with git sign colors: Git.lua. You can find the section on the palette here: git sign palette.
You can find all the NvimTree explorer highlights which defined here: NvimTree highlights.

For your example, change the highlight to raw green for new git files:

vim.api.nvim_command([[
    augroup customNvimTreeColors
        autocmd!
        autocmd ColorScheme * highlight NvimTreeGitNew guifg=#00ff00
    augroup END
]])
-- For nvim > 0.7.0 use better new api, `:help api-autocmd`

For non-Lua, vimscript config:

augroup customNvimTreeColors
    autocmd!
    autocmd ColorScheme * highlight NvimTreeGitNew guifg=#00ff00
augroup END

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants