Bug fix: safety net for older versions of Vim.

This commit is contained in:
LCD 47 2016-10-06 12:35:43 +03:00
parent 4c4e516e1d
commit 0a606ae28e
2 changed files with 2 additions and 2 deletions

View File

@ -588,7 +588,7 @@ lockvar s:_float2str
function! s:_getbufvar_dumb(buf, name, ...) abort " {{{2 function! s:_getbufvar_dumb(buf, name, ...) abort " {{{2
let ret = getbufvar(a:buf, a:name) let ret = getbufvar(a:buf, a:name)
if a:0 && ret ==# '' if a:0 && type(ret) == type('') && ret ==# ''
unlet! ret unlet! ret
let ret = a:1 let ret = a:1
endif endif

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-230' let g:_SYNTASTIC_VERSION = '3.7.0-231'
lockvar g:_SYNTASTIC_VERSION lockvar g:_SYNTASTIC_VERSION
" Sanity checks {{{1 " Sanity checks {{{1