-
Notifications
You must be signed in to change notification settings - Fork 198
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
Remove hardcoded terminal colors #104
Remove hardcoded terminal colors #104
Conversation
6231773
to
21984f8
Compare
@kdheepak @rakr This PR broke the colors in my NeoVim terminal and FZF I am running Neovim v0.4.4 which was released Aug 7, 2020 so probably containing said change and these hardcoded color values are still necessary. After adding back the hardcoded values that were removed in this PR into my vimrc it looks correct again: Am I missing something or was there some incorrect assumption with this PR? |
Can you try adding I believe this change is required to ensure that when using You can always manually set what was removed as part of this PR in your vimrc to force the terminal to use a certain color scheme. Alternatively, I believe you can even use these colors just for the terminal that is launched to run fzf. |
Maybe the correct thing to do is something like this:
for backward compatibility purposes. |
I have latest neovim 0.5 with the same issue. |
Issue with colors caused by rakr/vim-one#104
@kdheepak are you using a terminal with one-light theme? As far as I understood, neovim/neovim#10994 allows neovim's terminal to use the color of the terminal you are using, not neovim's colorscheme. I am using light theme too, no problem on my Arch with properly configured terminal. But I have to use neovim-qt in Windows which uses a light-yellow instead, I can see nothing with it :) |
With this PR neovim/neovim#10994, it is no longer necessary to hard code terminal colors for base 16 and neovim will handle it correctly. This PR has been merged and will be available in the next release of neovim.
I ran into this issue because I was using the light theme, and the terminal colors hardcoded here appear to correspond to the dark theme. With the
one
light theme, the terminal colors do not match that of a terminal outside neovim.For an immediate fix to work with a stable version of neovim, you can hard code values for both light and dark theme separately.