gruvbox icon indicating copy to clipboard operation
gruvbox copied to clipboard

Spellchecking highlights don't work

Open d3jv opened this issue 11 months ago • 1 comments

Hi, I can't get the spellchecking highlights to work in gruvbox.

This is a snippet from the output of :hi. You can see that misspelt words should be underlined, but they are not affected in any way: Image

d3jv avatar May 07 '25 09:05 d3jv

I edit the message, I had other configurations that made it work, it was not correct what I wrote.

This should work without problems, in your vimrc.

function! s:ApplyGruvboxOverrides() hi SpellBad term=reverse cterm=underline ctermfg=167 gui=undercurl guisp=#d75f5f hi SpellCap term=reverse cterm=underline ctermfg=67 gui=undercurl guisp=#5f87af hi SpellRare term=reverse cterm=underline ctermfg=182 gui=undercurl guisp=#d7afd7 hi SpellLocal term=underline cterm=underline ctermfg=108 gui=undercurl guisp=#87af87 endfunction

augroup gruvboxOverrides autocmd! autocmd colorscheme gruvbox call s:ApplyGruvboxOverrides() augroup END

It's the highlighting of the habamax scheme that's working for me.

Davidn0 avatar May 23 '25 15:05 Davidn0