mirror of
https://github.com/preservim/tagbar.git
synced 2024-11-23 10:41:49 +08:00
Delete fileinfo also on BufUnload and BufWipeout
This commit is contained in:
parent
4bf1d7024d
commit
a69cb8ce0b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user