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 spell
|
||||||
set spelllang=en_ca,en_us
|
set spelllang=en_ca,en_us
|
||||||
set spelloptions=camel
|
set spelloptions=camel
|
||||||
|
|
||||||
|
" Hide spellcheck highlights I don't care about
|
||||||
hi clear SpellCap
|
hi clear SpellCap
|
||||||
hi clear SpellRare
|
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
|
" Disable spellcheck for some file formats
|
||||||
autocmd FileType man setlocal nospell
|
autocmd FileType man setlocal nospell
|
||||||
autocmd FileType diff 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 DiffIndexLine ctermfg=White ctermbg=none cterm=bold
|
||||||
hi DiffAdd ctermfg=DarkGreen ctermbg=none
|
hi DiffAdd ctermfg=DarkGreen ctermbg=none
|
||||||
hi DiffChange ctermfg=DarkRed ctermbg=none
|
hi DiffChange ctermfg=DarkRed ctermbg=none
|
||||||
hi DiffDelete ctermfg=DarkRed ctermbg=none
|
hi DiffDelete ctermfg=DarkRed ctermbg=none
|
||||||
|
Loading…
x
Reference in New Issue
Block a user