-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Not setting the background contrast mode as expected #258
Comments
I had the same issue, fixed it by configuring the theme before applying it:
EDIT: updated variables as others pointed below. |
I also had a similar issue, and DzKaki's suggestion partially fixed it, but on load I always get the error message:
|
@GHDIShfdiod876dhs I couldn't recreate it with your .vimrc uploaded to github with gruvbox installed (assuming that's an accurate representation of your setup). Sounds like #73, even though that's an old version. Also, that warning should not be showing up multiple times. Is there any reason that an older version might be installed or gruvbox would be loading multiple times? |
Yeah, I had the same issue, in my case, I solved this adding "set background=dark" like this: colorshceme gruvbox |
You need to set the variable (g:gruvbox_contrast_light or g:gruvbox_contrast_dark) before setting the colorscheme. This is from my .vimrc:
From my understanding, |
At the end of my init.vim I have this line
as per the documentation on the wiki for setting the background contrast mode. However, when I load Neovim, the change is not applied; when I
:so $MYVIMRC
it applies the changes. Am I doing something wrong here?The text was updated successfully, but these errors were encountered: