mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-17 19:40:27 +01:00
Delete fileinfo also on BufUnload and BufWipeout
This commit is contained in:
@@ -965,7 +965,7 @@ function! s:CreateAutocommands()
|
||||
\ endif
|
||||
autocmd BufEnter,CursorHold,FileType * call
|
||||
\ s:AutoUpdate(fnamemodify(expand('<afile>'), ':p'))
|
||||
autocmd BufDelete * call
|
||||
autocmd BufDelete,BufUnload,BufWipeout * call
|
||||
\ s:CleanupFileinfo(fnamemodify(expand('<afile>'), ':p'))
|
||||
augroup END
|
||||
|
||||
|
||||
Reference in New Issue
Block a user