Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
Checker valac: fix previous bug fix. :)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcd047 committed Jan 4, 2017
1 parent 9ed5763 commit 40ac6c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin/syntastic.vim
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion syntax_checkers/vala/valac.vim
Expand Up @@ -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)' )
Expand Down

0 comments on commit 40ac6c4

Please sign in to comment.