mirror of
https://github.com/amix/vimrc
synced 2025-06-24 07:44:59 +08:00
Updated vim plugins
This commit is contained in:
@ -26,7 +26,7 @@ function! SyntaxCheckers_ruby_reek_IsAvailable() dict
|
||||
endfunction
|
||||
|
||||
function! SyntaxCheckers_ruby_reek_GetLocList() dict
|
||||
let makeprg = self.makeprgBuild({ 'args_before': '--no-color --quiet --line-number --single-line' })
|
||||
let makeprg = self.makeprgBuild({ 'args_before': '--no-color --line-number --single-line' })
|
||||
|
||||
let errorformat =
|
||||
\ '%E%.%#: Racc::ParseError: %f:%l :: %m,' .
|
||||
@ -34,7 +34,8 @@ function! SyntaxCheckers_ruby_reek_GetLocList() dict
|
||||
|
||||
let loclist = SyntasticMake({
|
||||
\ 'makeprg': makeprg,
|
||||
\ 'errorformat': errorformat })
|
||||
\ 'errorformat': errorformat,
|
||||
\ 'returns': [0, 2] })
|
||||
|
||||
for e in loclist
|
||||
if e['type'] ==? 'W'
|
||||
|
@ -23,7 +23,9 @@ function! SyntaxCheckers_ruby_rubylint_GetLocList() dict
|
||||
if !exists('s:rubylint_new')
|
||||
let s:rubylint_new = syntastic#util#versionIsAtLeast(self.getVersion(), [2])
|
||||
endif
|
||||
let makeprg = self.makeprgBuild({ 'args': (s:rubylint_new ? '' : 'analyze ') . '--presenter=syntastic' })
|
||||
let makeprg = self.makeprgBuild({
|
||||
\ 'args': (s:rubylint_new ? '' : 'analyze '),
|
||||
\ 'args_after': '--presenter=syntastic' })
|
||||
|
||||
let errorformat = '%f:%t:%l:%c: %m'
|
||||
|
||||
|
Reference in New Issue
Block a user