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

Add function tabgar:Update() to manually trigger AutoUpdate() (#633)

Co-authored-by: David Hegland <david.hegland@broadcom.com>
This commit is contained in:
raven42
2020-08-03 07:30:13 -05:00
committed by GitHub
parent 88bdb86325
commit a5090717dd

View File

@@ -3555,6 +3555,12 @@ endfunction
" }}}2
" tagbar#Update() {{{2
" Trigger an AutoUpdate() of the currently opened file
function! tagbar#Update() abort
call s:AutoUpdate(fnamemodify(expand('%'), ':p'), 0)
endfunction
" tagbar#toggle_pause() {{{2
function! tagbar#toggle_pause() abort
let s:paused = !s:paused