Nimbin[12]?Mirrors & Forks / syntastic / commits / 608280c9

syntastic git · master

syntastic vim plugin (fork)

vim fork · first commit 2009-07-10 · last commit 2022-07-10 (4 years ago) · synced 3 days ago · upstream: github.com/vim-syntastic/syntastic

Vim Script 99%
git clone https://git.christianimmanuel.de/mirrors-forks/syntastic.gitwget https://git.christianimmanuel.de/mirrors-forks/syntastic/archive/syntastic.tar.gz

Checker eruby/ruby: fix errorformat for Ruby 2.5.

LCD 47 · 2018-02-13 07:23 · 608280c9eeb8b717a5f6a19c6363fac6b8651216

 plugin/syntastic.vim           | 2 +-
 syntax_checkers/eruby/ruby.vim | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

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