diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index ec9ec6c..2682b43 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -971,6 +971,8 @@ function! s:CreateAutocommands() abort autocmd BufWritePost * call \ s:AutoUpdate(fnamemodify(expand(''), ':p'), 1) + " BufReadPost is needed for reloading the current buffer if the file + " was changed by an external command; see commit 17d199f autocmd BufReadPost,BufEnter,CursorHold,FileType * call \ s:AutoUpdate(fnamemodify(expand(''), ':p'), 0) autocmd BufDelete,BufUnload,BufWipeout * call