mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-18 12:00:23 +01:00
Don't remove fileinfo on BufUnload
If 'hidden' is not set then BufUnload is called every time a buffer would get hidden, removing the fileinfo. This causes unnecessary ctags processing of files.
This commit is contained in:
@@ -984,7 +984,7 @@ function! s:CreateAutocommands() abort
|
||||
" was changed by an external command; see commit 17d199f
|
||||
autocmd BufReadPost,BufEnter,CursorHold,FileType * call
|
||||
\ s:AutoUpdate(fnamemodify(expand('<afile>'), ':p'), 0)
|
||||
autocmd BufDelete,BufUnload,BufWipeout * call
|
||||
autocmd BufDelete,BufWipeout * call
|
||||
\ s:known_files.rm(fnamemodify(expand('<afile>'), ':p'))
|
||||
|
||||
autocmd QuickFixCmdPre * let s:tagbar_qf_active = 1
|
||||
|
||||
Reference in New Issue
Block a user