diff options
author | Ekaitz Zárraga <ekaitz.zarraga@fon.com> | 2015-12-15 12:04:41 +0100 |
---|---|---|
committer | Ekaitz Zárraga <ekaitz.zarraga@fon.com> | 2015-12-15 12:04:41 +0100 |
commit | ce9db5c85ca8456328dc669a6557c964a40afea0 (patch) | |
tree | a10f892598b661f34f416a09fc194506e01249fb /vim/.vim/ftplugin/markdown.vim | |
parent | deccc275df2fbc1ffe6601ab6f24a6fe3a360bfb (diff) |
Vim and Git configs
Diffstat (limited to 'vim/.vim/ftplugin/markdown.vim')
-rw-r--r-- | vim/.vim/ftplugin/markdown.vim | 14 |
1 files changed, 14 insertions, 0 deletions
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 |