Checker valac: fix previous bug fix. :)

This commit is contained in:
LCD 47 2017-01-04 13:06:20 +02:00
parent 9ed5763b8c
commit 40ac6c462e
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)' )