From f847c4631b4a95a3a6ba06c99f6f4ab091cdbcd3 Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Wed, 2 Mar 2011 23:29:36 +1300 Subject: [PATCH] Add 'redraw' in some places since auto-redraw doesn't always work --- plugin/tagbar.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugin/tagbar.vim b/plugin/tagbar.vim index 8b7acfd..1828974 100644 --- a/plugin/tagbar.vim +++ b/plugin/tagbar.vim @@ -1579,6 +1579,7 @@ function! s:ToggleHelp() endif execute 1 + redraw endfunction " User actions {{{1 @@ -1617,6 +1618,7 @@ function! s:HighlightTag(fname) call winline() execute prevwinnr . 'wincmd w' let &eventignore = eventignore_save + redraw return endif @@ -1636,6 +1638,8 @@ function! s:HighlightTag(fname) execute prevwinnr . 'wincmd w' let &eventignore = eventignore_save + + redraw endfunction " s:JumpToTag() {{{2 @@ -1665,6 +1669,8 @@ function! s:JumpToTag() .foldopen! endif + redraw + if g:tagbar_autoclose || autoclose call s:CloseWindow() else