From e6e084e8b053caf95c7b67b1099d00433e9bdd4d Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Wed, 24 Apr 2013 12:10:33 +1200 Subject: [PATCH] Re-enable BufReadPost event --- autoload/tagbar.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index 00b77d9..60906c9 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -957,7 +957,7 @@ function! s:CreateAutocommands() abort autocmd BufEnter __Tagbar__ nested call s:QuitIfOnlyWindow() autocmd CursorHold __Tagbar__ call s:ShowPrototype(1) - autocmd BufWritePost * call + autocmd BufReadPost,BufWritePost * call \ s:AutoUpdate(fnamemodify(expand(''), ':p'), 1) autocmd BufEnter,CursorHold,FileType * call \ s:AutoUpdate(fnamemodify(expand(''), ':p'), 0)