From a69cb8ce0b6e595573f724fe8eca7c521afc6af5 Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Thu, 23 Feb 2012 00:00:24 +1300 Subject: [PATCH] Delete fileinfo also on BufUnload and BufWipeout --- autoload/tagbar.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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