mirror of
https://github.com/preservim/tagbar.git
synced 2025-02-14 21:42:46 +08:00
Add 'redraw' in some places since auto-redraw doesn't always work
This commit is contained in:
parent
84121aac7d
commit
f847c4631b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user