mirror of
https://github.com/preservim/tagbar.git
synced 2025-02-14 21:42:46 +08:00
Close prevwin when jumping to tag, closes #184
This commit is contained in:
parent
dbc05b24a3
commit
88d7464079
|
@ -3007,8 +3007,13 @@ function! s:JumpToTag(stay_in_tagbar) abort
|
|||
call s:goto_win(tagbarwinnr)
|
||||
redraw
|
||||
elseif g:tagbar_autoclose || autoclose
|
||||
" Also closes preview window
|
||||
call s:CloseWindow()
|
||||
else
|
||||
" Close the preview window if it was opened by us
|
||||
if s:pwin_by_tagbar
|
||||
pclose
|
||||
endif
|
||||
call s:HighlightTag(0)
|
||||
endif
|
||||
endfunction
|
||||
|
|
|
@ -1408,6 +1408,7 @@ Michael McClimon
|
|||
Seth Milliken
|
||||
Kien N
|
||||
Darcy Parker
|
||||
fritzophrenic
|
||||
pielgrzym
|
||||
Taybin Rutkin
|
||||
Kian Ryan
|
||||
|
|
Loading…
Reference in New Issue
Block a user