Fix warning suppression in MRI 1.9.3
This commit is contained in:
parent
6e2b7dd190
commit
0f73bbaf14
@ -22,7 +22,7 @@ function! SyntaxCheckers_ruby_GetLocList()
|
|||||||
" foo.should == 'bar'
|
" foo.should == 'bar'
|
||||||
"
|
"
|
||||||
"which always generate the warning below
|
"which always generate the warning below
|
||||||
let errorformat = '%-G%.%#warning: useless use of == in void context'
|
let errorformat = '%-G%.%#warning: possibly useless use of == in void context'
|
||||||
|
|
||||||
let errorformat .= ',%-GSyntax OK,%E%f:%l: syntax error\, %m,%Z%p^,%W%f:%l: warning: %m,%Z%p^,%W%f:%l: %m,%-C%.%#'
|
let errorformat .= ',%-GSyntax OK,%E%f:%l: syntax error\, %m,%Z%p^,%W%f:%l: warning: %m,%Z%p^,%W%f:%l: %m,%-C%.%#'
|
||||||
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
|
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user