jeromejj / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

`set background` destroys additional highlighting #262

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a plug-in that does highlighting but not by filetype. Ex `vim-bling` or 
`vim-css-color`
2. set background=light
3. Voila. Filetype highlighting remains, but other types of highlighting is 
destroyed

I expect that `set background` is non-obtrusive. That it only loads the 
highlighting-scheme
of choice.

I'm on:
VIM - Vi IMproved 7.4 (20
MacOS X (unix) version 10.9.5
Included patches: 1-444
Compiled by Homebrew
Huge version without GUI.

There's a great plug-in called vim-holylight that I'd like to use, but this 
`set background`-bug
is too annoying. Hope this can be resolved.
If I knew the vim-source I'd give it a shot myself.

Original issue reported on code.google.com by hkj...@me.com on 1 Oct 2014 at 6:56

GoogleCodeExporter commented 9 years ago
I do not understand correctly what the problem is. Could you please describe
in more detail, what you expect and what changes? I am not sure, I understand 
what you mean by "destroys" background. Please be more precise and also mention 
what colorscheme you use and perhapse provide a sample file that shows the 
behaviour. (BTW: It is always good to start from vim -u NONE -N)

Original comment by chrisbr...@googlemail.com on 1 Oct 2014 at 5:13

GoogleCodeExporter commented 9 years ago
This sounds like the issue discussed on vim_dev here:

https://groups.google.com/forum/#!msg/vim_dev/afPqwAFNdrU/nqh6tOM87QUJ

For a workaround, see my patch to the molokai theme, here:

https://github.com/tomasr/molokai/commit/aa1cc201c743dd7d1b80bb2e2b5fbb7894ebfe5
f

Original comment by jke...@connectwise.com on 1 Oct 2014 at 6:28

GoogleCodeExporter commented 9 years ago
I remember that discussion. But do those plugins reset the Normal highlighting 
group?

Original comment by chrisbr...@googlemail.com on 1 Oct 2014 at 6:49