BadSpell activation issue
Hi,
I have some problem making the spell check display correctly with gruvbox. When working with a document containing BadSpell marker they are not highlighted when using the gruvbox colour scheme, but there is no problem when using per-installed colour scheme.
-> In the document :set spell works just fine with a :colorscheme default (which correspond to manjaro one) but with :colorscheme gruvbox there is no misspell highlight.
Best regards
Having the same issue , and pretty sure that it was working before , when I was using neovim. Changed back to vim now , and not having the spell errors marked.
Nevertheless what I did was added this after setting the colorscheme on my vimrc
hi SpellBad cterm=underline ctermfg=red
so for example my vimrc looks like this:
set termguicolors
" Gruvbox theme
"""""""""""""""""""""
set background=dark
let g:gruvbox_contrast_dark = "medium"
let g:gruvbox_italic=1
colorscheme gruvbox
hi SpellBad cterm=underline ctermfg=red
I was experiencing the same problem. Looks like the problem was three fold.
- My terminal (alacritty) didn't support undercurls until 3 days ago. Installing the latest git build fixed this.
- I needed to add the following to my
vimrcfor it to support undercurls:
let &t_Cs = "\e[4:3m"
let &t_Ce = "\e[4:0m"
- The color scheme does not support coloring the undercurl independently of the text when in terminal mode. To work around this, the
g:gruvbox_guisp_fallbackoption is provided. Set it tofgif you want to change the foreground color to what the undercurl would have been, orbgfor the same with the background.