diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-06-21 07:06:56 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-21 07:06:56 +0800 |
commit | bc6a5943dec0fddbc8523a33506ed933f71584ba (patch) | |
tree | 51fda8a3ae1ebf75afb10ae378f70a8735758e13 | |
parent | 7a309311a2c6858c9cd59db47becf4c9baaa9bfe (diff) | |
parent | 9aaff1848984ac688b8121a615ee5507f7496949 (diff) | |
download | rneovim-bc6a5943dec0fddbc8523a33506ed933f71584ba.tar.gz rneovim-bc6a5943dec0fddbc8523a33506ed933f71584ba.tar.bz2 rneovim-bc6a5943dec0fddbc8523a33506ed933f71584ba.zip |
Merge pull request #19030 from zeertzjq/vim-8.2.5138
vim-patch:8.2.{5107,5138}: various small issues
-rw-r--r-- | src/nvim/move.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/nvim/move.c b/src/nvim/move.c index 9d0099a2f8..cc811fca18 100644 --- 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; |