mirror of
https://github.com/preservim/tagbar.git
synced 2025-10-04 10:36:17 +08:00
Equalize windows after shrinking if necessary, closes #182
This commit is contained in:
@ -1890,6 +1890,12 @@ function! s:CloseWindow() abort
|
||||
|
||||
call s:ShrinkIfExpanded()
|
||||
|
||||
" The window sizes may have changed due to the shrinking happening after
|
||||
" the window closing, so equalize them again.
|
||||
if &equalalways
|
||||
wincmd =
|
||||
endif
|
||||
|
||||
if s:autocommands_done && !s:statusline_in_use
|
||||
autocmd! TagbarAutoCmds
|
||||
let s:autocommands_done = 0
|
||||
|
Reference in New Issue
Block a user