diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2023-02-16 08:37:42 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-16 08:37:42 +0800 |
| commit | 5dc4eaf386d70b9bbef321a00bcbb5d475f36542 (patch) | |
| tree | 4dd105e8c45b6f7b47f22afeb18b3bfcc8c0144f /src/nvim/normal.c | |
| parent | f1c5887377c9ae547a7564ec4fc52d72656a974f (diff) | |
| parent | 0bb3a373d32e150af3909e3873be91f34df211dc (diff) | |
| download | rneovim-5dc4eaf386d70b9bbef321a00bcbb5d475f36542.tar.gz rneovim-5dc4eaf386d70b9bbef321a00bcbb5d475f36542.tar.bz2 rneovim-5dc4eaf386d70b9bbef321a00bcbb5d475f36542.zip | |
Merge pull request #22275 from zeertzjq/vim-9.0.1309
vim-patch:9.0.{1309,1310,1312}: scrolling two lines with even line count and 'scrolloff'
Diffstat (limited to 'src/nvim/normal.c')
| -rw-r--r-- | src/nvim/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index a84d5c73a4..f1226584d7 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -2856,7 +2856,7 @@ static void nv_zet(cmdarg_T *cap) FALLTHROUGH; case 'z': - scroll_cursor_halfway(true); + scroll_cursor_halfway(true, false); redraw_later(curwin, UPD_VALID); set_fraction(curwin); break; |