This commit is contained in:
LCD 47 2017-11-06 08:44:40 +02:00
parent 0e3b6b6271
commit 206b616c8e
2 changed files with 3 additions and 1 deletions

View File

@ -312,6 +312,8 @@ function! syntastic#util#fname2buf(fname) abort " {{{2
try
" Older versions of Vim can throw E94 here
let buf = bufnr('^' . escape(fnamemodify(a:fname, md), '\*?,{}[') . '$')
catch
" catch everything
endtry
if buf != -1
break

View File

@ -19,7 +19,7 @@ if has('reltime')
lockvar! g:_SYNTASTIC_START
endif
let g:_SYNTASTIC_VERSION = '3.8.0-93'
let g:_SYNTASTIC_VERSION = '3.8.0-94'
lockvar g:_SYNTASTIC_VERSION
" Sanity checks {{{1