morhetz / gruvbox

Retro groove color scheme for Vim
13.69k stars 1.11k forks source link

Highlight for spelling errors is switched? #175

Open fd0 opened 7 years ago

fd0 commented 7 years ago

Hi,

thanks for publishing gruvbox, I like it very much! However, there's one thing that bugs me: I often use the spell checking feature built into vim. Most colorschemes I used so far (including the default colorscheme) highlight bad words (wrong spelling) in red, and other things such as rare words or sentences starting with a lower case letter in blue. With the default colorscheme:

testtext -tmp - vim_013

With gruvbox (using g:gruvbox_guisp_fallback='bg' in the terminal), it's the other way around:

testtext -tmp - vim_012

Is that intentional? Would you be willing to accept a pull request that switches the bad/case colors?

Thanks!

r-learner commented 6 years ago

Please post a pull request.

kirillbobyrev commented 6 years ago

I'm having a similar problem. However, in my setup misspelled words are not highlighted at all. Is there any workaround? I would be so much happier if I could see the misspelled words. Otherwise, Vim's spell is completely irrelevant.

trollo974 commented 6 years ago

@omtcvxyz i've got the same problem... I fixed it by adding let g:gruvbox_guisp_fallback = "bg" before colorscheme gruvbox in my vimrc... I hope this will work for you too ;)

kirillbobyrev commented 6 years ago

@trollo974 oh, great, it worked! Thank you so much for the tip, I was very uncomfortable for such a long time.

initstring commented 6 years ago

@trollo974 THANK YOU! I've been trying to fix this for weeks, you solution did the trick.

abers commented 6 years ago

I am having same issue where misspelt words are not highlighted at all when using set termguicolors. Without that line in vimrc gruvbox colours do not display correctly. The above solution of adding g:gruvbox_guisp_fallback = "bg" makes misspelt words visible, but does so by changing the foreground text to blue. Is there any way to get misspelt words to be highlighted with a red background alongside using set termguicolors?

oidz1234 commented 5 years ago

I also the same problem @abers has

danbruegge commented 5 years ago

Hi. Any news on this?

Is there also a way to get the misspelled words with an underline?