mirror of
https://github.com/gryf/tagbar.git
synced 2026-10-08 06:42:30 +02:00
Delete fileinfo also on BufUnload and BufWipeout
This commit is contained in:
1 parent
4bf1d7024d
commit
a69cb8ce0b
1 file changed
+1
-1
+1
-1
@@ -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