From baa95470b6e14a8dc5bff1a4a78e4e4fa37192fb Mon Sep 17 00:00:00 2001 From: Shane da Silva Date: Thu, 11 Jul 2013 12:27:30 -0700 Subject: [PATCH] Change --emacs flag to --format emacs for RuboCop The `--emacs` flag has been deprecated. Switch to specifying `--format emacs` so that this doesn't break when RuboCop 1.0 is released. --- syntax_checkers/ruby/rubocop.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_checkers/ruby/rubocop.vim b/syntax_checkers/ruby/rubocop.vim index cf9b979c..cb771b1d 100644 --- a/syntax_checkers/ruby/rubocop.vim +++ b/syntax_checkers/ruby/rubocop.vim @@ -25,7 +25,7 @@ endfunction function! SyntaxCheckers_ruby_rubocop_GetLocList() let makeprg = syntastic#makeprg#build({ \ 'exe': 'rubocop', - \ 'args': '--emacs --silent', + \ 'args': '--format emacs --silent', \ 'filetype': 'ruby', \ 'subchecker': 'rubocop' })