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

vim gruvbox theme does not work with automatic background #461

Open
nebelch opened this issue Aug 22, 2024 · 0 comments
Open

vim gruvbox theme does not work with automatic background #461

nebelch opened this issue Aug 22, 2024 · 0 comments

Comments

@nebelch
Copy link

nebelch commented Aug 22, 2024

If I write this in my vimrc:

let &t_RB="\e]11;?\e\\"  " set background option automatically
colorscheme gruvbox

...gruvbox overrides background to light. The issue appears to be this bit, added in issue #7 :

if s:is_dark
  set background=dark
else
  set background=light
endif

...presumably because the t_RB machinery does not run until after this does, by which time it’s too late. For what it’s worth, I do not see issue #7 come back in macOS Terminal.app (256 color) after removing it.

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

1 participant