diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index 1db3fd1..e55f209 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -965,7 +965,7 @@ function! s:CreateAutocommands() \ endif autocmd BufEnter,CursorHold,FileType * call \ s:AutoUpdate(fnamemodify(expand(''), ':p')) - autocmd BufDelete * call + autocmd BufDelete,BufUnload,BufWipeout * call \ s:CleanupFileinfo(fnamemodify(expand(''), ':p')) augroup END