From ce9db5c85ca8456328dc669a6557c964a40afea0 Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Tue, 15 Dec 2015 12:04:41 +0100 Subject: Vim and Git configs --- vim/.vim/ftplugin/markdown.vim | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 vim/.vim/ftplugin/markdown.vim (limited to 'vim/.vim/ftplugin/markdown.vim') diff --git a/vim/.vim/ftplugin/markdown.vim b/vim/.vim/ftplugin/markdown.vim new file mode 100644 index 0000000..8abe28a --- /dev/null +++ b/vim/.vim/ftplugin/markdown.vim @@ -0,0 +1,14 @@ +setlocal syntax=markdown + +" Spellcheck in markdown (automatic to english) +setlocal spelllang=en +setlocal spell + +" Textwidth for automatic wrap `gq` is formatting operation +setlocal textwidth=79 +setlocal formatoptions+=t + + +" Highlight where the lines are more than 80 characters wide +setlocal colorcolumn=80 +highlight ColorColumn ctermbg=LightGreen -- cgit v1.2.3