commit bc6a5943dec0fddbc8523a33506ed933f71584ba
parent 7a309311a2c6858c9cd59db47becf4c9baaa9bfe
Author: zeertzjq <zeertzjq@outlook.com>
Date: Tue, 21 Jun 2022 07:06:56 +0800
Merge pull request #19030 from zeertzjq/vim-8.2.5138
vim-patch:8.2.{5107,5138}: various small issues
Diffstat:
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/nvim/move.c b/src/nvim/move.c
@@ -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.
- * Scroll at least "min_scroll" lines.
- * If "set_topbot" is true, set topline and botline first (for "zb").
- * This is messy stuff!!!
- */
+/// Recompute topline to put the cursor at the bottom of the window.
+/// When scrolling scroll at least "min_scroll" lines.
+/// If "set_topbot" is true, set topline and botline first (for "zb").
+/// This is messy stuff!!!
void scroll_cursor_bot(int min_scroll, int set_topbot)
{
int used;