Workaround for a misfeature in Vim 7.4.1013 and later.

Starting with Vim 7.4.1013, lgetexpr uses local errorformat over the
global one.
This commit is contained in:
LCD 47 2016-01-04 19:44:25 +02:00
parent 3280220e6c
commit 189be0ae74

View File

@ -19,7 +19,7 @@ if has('reltime')
lockvar! g:_SYNTASTIC_START lockvar! g:_SYNTASTIC_START
endif endif
let g:_SYNTASTIC_VERSION = '3.7.0-68' let g:_SYNTASTIC_VERSION = '3.7.0-69'
lockvar g:_SYNTASTIC_VERSION lockvar g:_SYNTASTIC_VERSION
" Sanity checks {{{1 " Sanity checks {{{1
@ -510,6 +510,7 @@ function! SyntasticMake(options) abort " {{{2
if has_key(a:options, 'errorformat') if has_key(a:options, 'errorformat')
let &errorformat = a:options['errorformat'] let &errorformat = a:options['errorformat']
set errorformat<
endif endif
if has_key(a:options, 'cwd') if has_key(a:options, 'cwd')