From 3ffd354e66687ea9678c80c01c588a5fbdb9beab Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Tue, 5 Apr 2016 19:55:43 +0200 Subject: better highlight on spelling --- vim/.vim/ftplugin/markdown.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vim') diff --git a/vim/.vim/ftplugin/markdown.vim b/vim/.vim/ftplugin/markdown.vim index 3b96bad..c70307d 100644 --- a/vim/.vim/ftplugin/markdown.vim +++ b/vim/.vim/ftplugin/markdown.vim @@ -19,3 +19,7 @@ augroup SENTENCES au! autocmd InsertCharPre * if &ft=='markdown' | if search('\v(%^|[.!?]\_s+|\_^\-\s|\_^title\:\s|\n\n)%#', 'bcnw') != 0 | let v:char = toupper(v:char) | endif | endif augroup END + +" Highlight spelling errors in red and underline +hi clear SpellBad +hi SpellBad cterm=underline ctermfg=Red -- cgit v1.2.3