Skip to content

Commit 5e2bbcc

Browse files
committed
Remove useless guard when fixing scrolled bufs
It is not needed because the calculations below work fine in case the window is minimized. It also did break the top win if it want to be minimized but isn't because it is on top.
1 parent 63e1d6f commit 5e2bbcc

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

plugin/acme.vim

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -760,9 +760,6 @@ endfunc
760760

761761
function s:Fit(col)
762762
for w in a:col
763-
if s:Minimized(w)
764-
continue
765-
endif
766763
let h = 0
767764
let wh = winheight(w)
768765
let top = line('$', w) + 1

0 commit comments

Comments
 (0)