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-10-19 12:58:40 +13:00
committed by Jan Larres
parent b6298c0ca0
commit b99e103258
3 changed files with 17 additions and 1 deletions
+4 -1
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()