mirror of
https://github.com/gryf/tagbar.git
synced 2026-10-07 22:32:39 +02:00
Always jump to previous window when closing tagbar, closes #44
This commit is contained in:
1 parent
849fcbcd5a
commit
22b2329720
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user