diff options
| -rw-r--r-- | .vimrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -151,6 +151,8 @@ autocmd FileType ruby,eruby let g:rubycomplete_rails = 1 autocmd FileType ruby,eruby let g:rubycomplete_classes_in_global = 1 autocmd FileType ruby,eruby let g:rubycomplete_include_object = 1 autocmd FileType ruby,eruby let g:rubycomplete_include_objectspace = 1 +autocmd FileType ruby,eruby setlocal spell " allow spell checking for ruby documentation +autocmd FileType ruby,eruby set complete+=k " allow spell autocompletion using CTRL-N autocmd BufNewFile,BufRead *.html.erb set filetype=html " for ruby erb template files autocmd BufNewFile,BufRead *.json.jbuilder set filetype=ruby " for ruby json template files autocmd BufRead,BufNewFile *.md setlocal spell " spell check md files |
