background color not applied when sourcing vimrc or switching between colorschemes #7

Open
usharf opened this Issue Jan 7, 2013 · 4 comments

Projects

None yet

3 participants

@usharf
usharf commented Jan 7, 2013

I've noticed that the background color (black) is not applied after sourcing vimrc, or reverting back from another color scheme (which uses non black background) to vivid. Foreground colors seem to be set properly.

For example, with "colorsheme vividchalk" in my .vimrc

:colorscheme koelher
:colorscheme vividchalk  # background does not change back
@lukaszbieniek

+1

@dman777
dman777 commented Jul 23, 2015

+1 on this also

@dman777
dman777 commented Aug 10, 2015

I just want to add....

I have 2 cloud servers both using vividchalk...
vividchalk has this issue on one cloud server, but not the other.

Both are using the same versions of vim 7.4

I suspect it may be with the way vim is compiled. Gentoo is working...which vim was compiled differently. Ubuntu is where vividchalk has this background issue, which it was compiled differently.

@dman777
dman777 commented Aug 11, 2015
I got the fix!

From this stackoverflow post:


Place hi Normal ctermbg=NONE in your .vimrc. I placed mine last.


This fixed the issue in mine.

It seems that this issue should be closed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment