mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-18 03:50:26 +01:00
Add 'redraw' in some places since auto-redraw doesn't always work
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user