Permalink
Browse files

Checker valac: fix previous bug fix. :)

  • Loading branch information...
1 parent 9ed5763 commit 40ac6c462e2f76cb76d8a0f295abc358abc198bb @lcd047 lcd047 committed Jan 4, 2017
Showing with 2 additions and 2 deletions.
  1. +1 −1 plugin/syntastic.vim
  2. +1 −1 syntax_checkers/vala/valac.vim
@@ -19,7 +19,7 @@ if has('reltime')
lockvar! g:_SYNTASTIC_START
endif
-let g:_SYNTASTIC_VERSION = '3.8.0-13'
+let g:_SYNTASTIC_VERSION = '3.8.0-14'
lockvar g:_SYNTASTIC_VERSION
" Sanity checks {{{1
@@ -53,7 +53,7 @@ function! s:GetValaOpts(buf, name, comment, cmd) " {{{2
else
let opts = []
for line in filter(getbufline(a:buf, 1, 100), 'v:val =~# ' . string('\m^//\s\+' . a:comment . ':\s*'))
- call extend(opts, split( matchstr(line, '\m^//\s\+' . a:comment . ':\s*\zs'), '\s\+' ))
+ call extend(opts, split( matchstr(line, '\m^//\s\+' . a:comment . ':\s*\zs.*'), '\s\+' ))
endfor
call map( filter(opts, 'v:val !=# ""'), 'syntastic#util#shescape(v:val)' )

0 comments on commit 40ac6c4

Please sign in to comment.