vimrc: highlight spelling mistakes
This commit is contained in:
parent
523a446983
commit
e52f9c3e60
@ -1241,6 +1241,12 @@ if g:colors_name =~# 'spacemacs-theme' && &background =~# 'dark'
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" spelling mistakes highlighting
|
||||||
|
" as per https://github.com/vim/vim/issues/6174#issuecomment-636869793
|
||||||
|
let &t_Cs = "\e[4:3m"
|
||||||
|
let &t_Ce = "\e[4:0m"
|
||||||
|
hi SpellBad guisp=red gui=undercurl guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE term=underline cterm=undercurl ctermul=red
|
||||||
|
hi SpellCap guisp=yellow gui=undercurl guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE term=underline cterm=undercurl ctermul=yellow
|
||||||
|
|
||||||
" compensate for lack of theme italics
|
" compensate for lack of theme italics
|
||||||
for s in ["Comment", "Constant", "Include", "Define", "Macro", "Delimiter", "Debug", "Identifier", "Boolean", "markdownItalic"]
|
for s in ["Comment", "Constant", "Include", "Define", "Macro", "Delimiter", "Debug", "Identifier", "Boolean", "markdownItalic"]
|
||||||
|
Loading…
Reference in New Issue
Block a user