diff options
author | Ekaitz Zárraga <ekaitz.zarraga@gmail.com> | 2016-04-05 19:55:43 +0200 |
---|---|---|
committer | Ekaitz Zárraga <ekaitz.zarraga@gmail.com> | 2016-04-05 19:55:43 +0200 |
commit | 3ffd354e66687ea9678c80c01c588a5fbdb9beab (patch) | |
tree | 60562fa79b8cdd5e0a510951c83302f57a289b1e /vim/.vim/ftplugin/markdown.vim | |
parent | d695ed06665f59e9e960b2ef04e42b8924fa23f0 (diff) |
better highlight on spelling
Diffstat (limited to 'vim/.vim/ftplugin/markdown.vim')
-rw-r--r-- | vim/.vim/ftplugin/markdown.vim | 4 |
1 files changed, 4 insertions, 0 deletions
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 |