Skip to content

Commit

Permalink
Equalize windows manually when &equalalways is off
Browse files Browse the repository at this point in the history
Partial fix for: #136

This fix does not work well for `:Flogsplit`, since it will impact all
windows, not just relevant windows. To only resize impacted windows, we
need a smarter option.
  • Loading branch information
rbong committed Aug 20, 2024
1 parent 5a9d90f commit cd389b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autoload/flog/floggraph/side_win.vim
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ function! flog#floggraph#side_win#Open(cmd, keep_focus, is_tmp) abort

if a:is_tmp
call flog#floggraph#side_win#CloseTmp()
if !&equalalways
wincmd =
endif
endif

for l:win_id in l:new_win_ids
Expand Down

0 comments on commit cd389b8

Please sign in to comment.