syntastic git · master
syntastic vim plugin (fork)
Vim Script 99%git clone https://git.christianimmanuel.de/mirrors-forks/syntastic.gitwget https://git.christianimmanuel.de/mirrors-forks/syntastic/archive/syntastic.tar.gzFix last commit.
plugin/syntastic.vim | 2 +- plugin/syntastic/balloons.vim | 19 +++++-------------- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index c9410897..d48a8d12 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -19,7 +19,7 @@ if has('reltime') lockvar! g:_SYNTASTIC_START endif -let g:_SYNTASTIC_VERSION = '3.10.0-3' +let g:_SYNTASTIC_VERSION = '3.10.0-4' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1 diff --git a/plugin/syntastic/balloons.vim b/plugin/syntastic/balloons.vim index a62b419b..6fa2a16a 100644 --- a/plugin/syntastic/balloons.vim +++ b/plugin/syntastic/balloons.vim @@ -3,7 +3,7 @@ if exists('g:loaded_syntastic_notifier_balloons') || !exists('g:loaded_syntastic endif let g:loaded_syntastic_notifier_balloons = 1 -if !has('balloon_eval') && !has('balloon_eval_term') +if !has('balloon_eval') let g:syntastic_enable_balloons = 0 endif @@ -17,7 +17,7 @@ function! g:SyntasticBalloonsNotifier.New() abort " {{{2 endfunction " }}}2 function! g:SyntasticBalloonsNotifier.enabled() abort " {{{2 - return (has('balloon_eval') || has('balloon_eval_term')) && syntastic#util#var('enable_balloons') + return has('balloon_eval') && syntastic#util#var('enable_balloons') endfunction " }}}2 " Update the error balloons @@ -26,12 +26,7 @@ function! g:SyntasticBalloonsNotifier.refresh(loclist) abort " {{{2 if self.enabled() && !a:loclist.isEmpty() let b:syntastic_private_balloons = a:loclist.balloons() if !empty(b:syntastic_private_balloons) - set balloonexpr=SyntasticBalloonsExprNotifier() - if has('balloon_eval') - set ballooneval - elseif has('balloon_eval_term') - set balloonevalterm - endif + set ballooneval balloonexpr=SyntasticBalloonsExprNotifier() endif endif endfunction " }}}2 @@ -39,13 +34,9 @@ endfunction " }}}2 " Reset the error balloons " @vimlint(EVL103, 1, a:loclist) function! g:SyntasticBalloonsNotifier.reset(loclist) abort " {{{2 - if (has('balloon_eval') || has('balloon_eval_term')) && !empty(get(b:, 'syntastic_private_balloons', {})) + if has('balloon_eval') && !empty(get(b:, 'syntastic_private_balloons', {})) call syntastic#log#debug(g:_SYNTASTIC_DEBUG_NOTIFICATIONS, 'balloons: reset') - if has('balloon_eval') - set noballooneval - elseif has('balloon_eval_term') - set noballoonevalterm - endif + set noballooneval endif unlet! b:syntastic_private_balloons endfunction " }}}2