1

Improve how badly spelled words are rendered

This commit is contained in:
Evan Pratten 2023-11-21 11:12:34 -05:00
parent 93710f159c
commit 08d1b84c47

View File

@ -56,9 +56,15 @@ if !exists('g:vscode')
set spell
set spelllang=en_ca,en_us
set spelloptions=camel
" Hide spellcheck highlights I don't care about
hi clear SpellCap
hi clear SpellRare
" Change the spellcheck highlight to an underline
hi clear SpellBad
hi SpellBad cterm=underline ctermfg=DarkRed
" Disable spellcheck for some file formats
autocmd FileType man setlocal nospell
autocmd FileType diff setlocal nospell
@ -71,4 +77,4 @@ hi DiffFile ctermfg=White ctermbg=none cterm=bold
hi DiffIndexLine ctermfg=White ctermbg=none cterm=bold
hi DiffAdd ctermfg=DarkGreen ctermbg=none
hi DiffChange ctermfg=DarkRed ctermbg=none
hi DiffDelete ctermfg=DarkRed ctermbg=none
hi DiffDelete ctermfg=DarkRed ctermbg=none