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