summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vimrc5
1 files changed, 2 insertions, 3 deletions
diff --git a/.vimrc b/.vimrc
index 6db1e8e..a943c5f 100644
--- a/.vimrc
+++ b/.vimrc
@@ -155,9 +155,8 @@ autocmd BufNewFile,BufRead *.html.erb set filetype=html " for ruby erb tem
autocmd BufNewFile,BufRead *.json.jbuilder set filetype=ruby " for ruby json template files
autocmd BufNewFile,BufRead,BufReadPost *.tsx set syntax=javascript " better tsx highlighting than polyglot defaults
autocmd BufNewFile,BufRead *.yaml.gotmpl set filetype=yaml " for highlighting YAML go templates as yaml files
-" autocmd FileType markdown setlocal spell " spell check markdown files
-autocmd FileType gitcommit setlocal spell " spell check commits
-autocmd FileType gitcommit set complete+=spell " spell complete with CTRL+N/CTRL+P
+autocmd FileType gitcommit,markdown setlocal spell " spell check commits and markdown files
+autocmd FileType gitcommit,markdown set complete+=spell " spell complete with CTRL+N/CTRL+P
autocmd FileType ruby setlocal nospell " disable spell checking for ruby documentation
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""