summaryrefslogtreecommitdiff
path: root/vim/.vim/ftplugin
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-04-05 19:55:43 +0200
committerEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-04-05 19:55:43 +0200
commit3ffd354e66687ea9678c80c01c588a5fbdb9beab (patch)
tree60562fa79b8cdd5e0a510951c83302f57a289b1e /vim/.vim/ftplugin
parentd695ed06665f59e9e960b2ef04e42b8924fa23f0 (diff)
better highlight on spelling
Diffstat (limited to 'vim/.vim/ftplugin')
-rw-r--r--vim/.vim/ftplugin/markdown.vim4
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