From 975315c6656bef78180b15291984071b06679f5f Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sun, 4 Dec 2011 00:10:31 +0000 Subject: [PATCH] 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! --- plugin/syntastic.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 8b4b6c48..2191a8d9 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -360,8 +360,8 @@ function! SyntasticMake(options) endfunction function! s:RefreshBalloons() + let b:syntastic_balloons = {} if s:BufHasErrorsOrWarningsToDisplay() && has('balloon_eval') - let b:syntastic_balloons = {} for i in b:syntastic_loclist let b:syntastic_balloons[i['lnum']] = i['text'] endfor