1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 11:30:28 +01:00

Add g:tagbar_show_balloon option

This commit is contained in:
mars
2020-01-03 14:57:46 +08:00
committed by Caleb Maclennan
parent ccc0d64e59
commit 524aa93372
3 changed files with 18 additions and 1 deletions

View File

@@ -758,7 +758,7 @@ function! s:InitWindow(autoclose) abort
setlocal nomodifiable
setlocal textwidth=0
if has('balloon_eval')
if g:tagbar_show_balloon == 1 && has('balloon_eval')
setlocal balloonexpr=TagbarBalloonExpr()
set ballooneval
endif