diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index cedcaed6..aa29bdf5 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -19,7 +19,7 @@ if has('reltime') lockvar! g:_SYNTASTIC_START endif -let g:_SYNTASTIC_VERSION = '3.8.0-101' +let g:_SYNTASTIC_VERSION = '3.8.0-104' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1 diff --git a/syntax_checkers/eruby/ruby.vim b/syntax_checkers/eruby/ruby.vim index bdc4915f..7891b7a5 100644 --- a/syntax_checkers/eruby/ruby.vim +++ b/syntax_checkers/eruby/ruby.vim @@ -50,7 +50,9 @@ function! SyntaxCheckers_eruby_ruby_GetLocList() dict \ ').gsub(''<%='',''<%''), nil, ''-'').src') . \ ' | ' . self.getExecEscaped() . ' -w -c' - let errorformat = '%-G%\m%.%#warning: %\%%(possibly %\)%\?useless use of a literal in void context,' + let errorformat = + \ '%-G%\m%.%#warning: %\%%(possibly %\)%\?useless use of a literal in void context,' . + \ '%-G%\m%.%#warning: possibly useless use of a variable in void context,' " filter out lines starting with ... " long lines are truncated and wrapped in ... %p then returns the wrong