rubocop on ruby

This commit is contained in:
Loic Nageleisen 2013-10-02 14:47:07 +02:00
parent 791ae7f104
commit 8607de46eb

2
vimrc
View file

@ -74,7 +74,7 @@ autocmd FileType ruby set softtabstop=2 shiftwidth=2
autocmd FileType eruby set softtabstop=2 shiftwidth=2 autocmd FileType eruby set softtabstop=2 shiftwidth=2
autocmd FileType coffee set softtabstop=4 shiftwidth=4 autocmd FileType coffee set softtabstop=4 shiftwidth=4
au BufRead,BufNewFile Guardfile setfiletype ruby au BufRead,BufNewFile Guardfile setfiletype ruby
"let g:syntastic_ruby_checkers = ['mri', 'rubocop'] let g:syntastic_ruby_checkers = ['mri', 'rubocop']
"notify line over length "notify line over length
function HighlightOverLength(len) function HighlightOverLength(len)