From 0f73bbaf1435d66be481d5f434054892efc6b08a Mon Sep 17 00:00:00 2001 From: Frank Schumacher Date: Thu, 19 Jul 2012 11:25:49 +0200 Subject: [PATCH] Fix warning suppression in MRI 1.9.3 --- syntax_checkers/ruby/mri.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_checkers/ruby/mri.vim b/syntax_checkers/ruby/mri.vim index f8836e56..677b4a81 100644 --- a/syntax_checkers/ruby/mri.vim +++ b/syntax_checkers/ruby/mri.vim @@ -22,7 +22,7 @@ function! SyntaxCheckers_ruby_GetLocList() " foo.should == 'bar' " "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%.%#' return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })