diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index c15b281..dc084df 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -966,7 +966,7 @@ function! s:CreateAutocommands() autocmd BufEnter,CursorHold,FileType * call \ s:AutoUpdate(fnamemodify(expand(''), ':p')) autocmd BufDelete,BufUnload,BufWipeout * call - \ s:CleanupFileinfo(fnamemodify(expand(''), ':p')) + \ s:known_files.rm(fnamemodify(expand(''), ':p')) autocmd VimEnter * call s:CorrectFocusOnStartup() augroup END @@ -2920,11 +2920,6 @@ function! s:CleanUp() unlet s:short_help endfunction -" s:CleanupFileinfo() {{{2 -function! s:CleanupFileinfo(fname) - call s:known_files.rm(a:fname) -endfunction - " s:DetectFiletype() {{{2 function! s:DetectFiletype(bufnr) " Filetype has already been detected for loaded buffers, but not