diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index a36467a..932a682 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -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