summaryrefslogtreecommitdiffstatshomepage
path: root/src/nvim/move.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/move.c')
-rw-r--r--src/nvim/move.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/move.c b/src/nvim/move.c
index 99b1e73e32..01c98b95f1 100644
--- a/src/nvim/move.c
+++ b/src/nvim/move.c
@@ -408,9 +408,8 @@ void update_topline(win_T *wp)
if ((wp->w_cursor.lnum >= wp->w_botline - *so_ptr || win_lines_concealed(wp))) {
lineoff_T loff;
- // Cursor is (a few lines) above botline, check if there are
- // 'scrolloff' window lines below the cursor. If not, need to
- // scroll.
+ // Cursor is (a few lines) above botline, check if there are 'scrolloff'
+ // window lines below the cursor. If not, need to scroll.
int n = eof_pressure ? 0 : wp->w_empty_rows;
loff.lnum = wp->w_cursor.lnum;
// In a fold go to its last line.