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

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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