Improve how badly spelled words are rendered
This commit is contained in:
parent
93710f159c
commit
08d1b84c47
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user