Bug fix: don't mess with balloons we didn't set.
This commit is contained in:
parent
7274363a72
commit
69b0c3e85a
@ -19,7 +19,7 @@ if has('reltime')
|
|||||||
lockvar! g:_SYNTASTIC_START
|
lockvar! g:_SYNTASTIC_START
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let g:_SYNTASTIC_VERSION = '3.9.0-31'
|
let g:_SYNTASTIC_VERSION = '3.9.0-32'
|
||||||
lockvar g:_SYNTASTIC_VERSION
|
lockvar g:_SYNTASTIC_VERSION
|
||||||
|
|
||||||
" Sanity checks {{{1
|
" Sanity checks {{{1
|
||||||
|
@ -34,12 +34,11 @@ endfunction " }}}2
|
|||||||
" Reset the error balloons
|
" Reset the error balloons
|
||||||
" @vimlint(EVL103, 1, a:loclist)
|
" @vimlint(EVL103, 1, a:loclist)
|
||||||
function! g:SyntasticBalloonsNotifier.reset(loclist) abort " {{{2
|
function! g:SyntasticBalloonsNotifier.reset(loclist) abort " {{{2
|
||||||
let b:syntastic_private_balloons = {}
|
if has('balloon_eval') && !empty(get(b:, 'syntastic_private_balloons', {}))
|
||||||
if has('balloon_eval')
|
|
||||||
call syntastic#log#debug(g:_SYNTASTIC_DEBUG_NOTIFICATIONS, 'balloons: reset')
|
call syntastic#log#debug(g:_SYNTASTIC_DEBUG_NOTIFICATIONS, 'balloons: reset')
|
||||||
unlet! b:syntastic_private_balloons
|
|
||||||
set noballooneval
|
set noballooneval
|
||||||
endif
|
endif
|
||||||
|
unlet! b:syntastic_private_balloons
|
||||||
endfunction " }}}2
|
endfunction " }}}2
|
||||||
" @vimlint(EVL103, 0, a:loclist)
|
" @vimlint(EVL103, 0, a:loclist)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user