fix a bug where balloons werent being removed
Remove balloons on every refresh so they dont get left there if all errors are fixed on the next refresh. NO ONE LIEKS ZEE STALE BALLOONS!
This commit is contained in:
parent
c535a677ac
commit
975315c665
@ -360,8 +360,8 @@ function! SyntasticMake(options)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:RefreshBalloons()
|
function! s:RefreshBalloons()
|
||||||
|
let b:syntastic_balloons = {}
|
||||||
if s:BufHasErrorsOrWarningsToDisplay() && has('balloon_eval')
|
if s:BufHasErrorsOrWarningsToDisplay() && has('balloon_eval')
|
||||||
let b:syntastic_balloons = {}
|
|
||||||
for i in b:syntastic_loclist
|
for i in b:syntastic_loclist
|
||||||
let b:syntastic_balloons[i['lnum']] = i['text']
|
let b:syntastic_balloons[i['lnum']] = i['text']
|
||||||
endfor
|
endfor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user