diff options
| -rw-r--r-- | .vimrc | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
