Browse files

Equalize windows after shrinking if necessary, closes #182

  • Loading branch information...
1 parent 3f28e3b commit 2dcd5260b6dceef82380699f6907701a55ac3335 @majutsushi committed Nov 23, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 autoload/tagbar.vim
View
6 autoload/tagbar.vim
@@ -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

0 comments on commit 2dcd526

Please sign in to comment.