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

Colorscheme resets after Vim restart #440

Open
glow12121 opened this issue Jan 10, 2023 · 2 comments
Open

Colorscheme resets after Vim restart #440

glow12121 opened this issue Jan 10, 2023 · 2 comments

Comments

@glow12121
Copy link

A question from a rookie.

I have installed gruvbox theme, then enabled it with colorscheme gruvbox and the scheme switched on just fine.

However, after I restart Vim, it looks like this:

image

@glow12121
Copy link
Author

I think I got it - it was the scheme's light mode. Adding this line solved the problem:

set bg=dark    " Setting dark mode

@dufuhang
Copy link

I have same issue. But I don't know why I should set set bg=dark. Because according to this wiki, this settings is unnecessary. Bug maybe?

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