1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-18 03:50:26 +01:00

Silent option

If the silent option is set, tagbar doesn't echo out information about
the tag the cursor is on in the tagbar window.
This commit is contained in:
Anmol Sethi
2016-02-18 04:01:35 -05:00
committed by Jan Larres
parent b6298c0ca0
commit b99e103258
3 changed files with 17 additions and 1 deletions

View File

@@ -1033,7 +1033,10 @@ function! s:CreateAutocommands() abort
augroup TagbarAutoCmds
autocmd!
autocmd CursorHold __Tagbar__.* call s:ShowPrototype(1)
if !g:tagbar_silent
autocmd CursorHold __Tagbar__.* call s:ShowPrototype(1)
endif
autocmd WinEnter __Tagbar__.* call s:SetStatusLine()
autocmd WinLeave __Tagbar__.* call s:SetStatusLine()