Rubocop: "--silent" was dropped in version 0.12. (@p0deje)

This commit is contained in:
LCD 47 2015-01-14 13:28:03 +02:00
parent 5429d24a59
commit 8b97caa2d9

View File

@ -26,11 +26,11 @@ function! SyntaxCheckers_ruby_rubocop_IsAvailable() dict
let ver = syntastic#util#getVersion(self.getExecEscaped() . ' --version')
call self.log(self.getExec() . ' version =', ver)
return syntastic#util#versionIsAtLeast(ver, [0, 9, 0])
return syntastic#util#versionIsAtLeast(ver, [0, 12, 0])
endfunction
function! SyntaxCheckers_ruby_rubocop_GetLocList() dict
let makeprg = self.makeprgBuild({ 'args_after': '--format emacs --silent' })
let makeprg = self.makeprgBuild({ 'args_after': '--format emacs' })
let errorformat = '%f:%l:%c: %t: %m'