mirror of
https://github.com/preservim/tagbar.git
synced 2025-02-14 03:42:46 +08:00
Always jump to previous window when closing tagbar, closes #44
This commit is contained in:
parent
849fcbcd5a
commit
22b2329720
|
@ -1477,6 +1477,7 @@ function! s:CloseWindow()
|
|||
if winbufnr(2) != -1
|
||||
" Other windows are open, only close the tagbar one
|
||||
close
|
||||
wincmd p
|
||||
endif
|
||||
else
|
||||
" Go to the tagbar window, close it and then come back to the
|
||||
|
|
Loading…
Reference in New Issue
Block a user