Merge pull request #19030 from zeertzjq/vim-8.2.5138

vim-patch:8.2.{5107,5138}: various small issues
This commit is contained in:
zeertzjq
2022-06-21 07:06:56 +08:00
committed by GitHub

View File

@@ -1518,12 +1518,10 @@ void set_empty_rows(win_T *wp, int used)
} }
} }
/* /// Recompute topline to put the cursor at the bottom of the window.
* Recompute topline to put the cursor at the bottom of the window. /// When scrolling scroll at least "min_scroll" lines.
* Scroll at least "min_scroll" lines. /// If "set_topbot" is true, set topline and botline first (for "zb").
* If "set_topbot" is true, set topline and botline first (for "zb"). /// This is messy stuff!!!
* This is messy stuff!!!
*/
void scroll_cursor_bot(int min_scroll, int set_topbot) void scroll_cursor_bot(int min_scroll, int set_topbot)
{ {
int used; int used;