diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-01 07:22:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-01 07:22:24 +0800 |
commit | 8952def50afa8308e044c0100e6d4fa367d0a9c2 (patch) | |
tree | 4c305d2f16cebd02f24a1bbf69cbaf8338bc7d4e /src/nvim/normal.c | |
parent | 68ec497d52bc8e93e12c74099ee9826b9469c3be (diff) | |
parent | 975a273125efa2f820c3e164c7ca8d05b1a24598 (diff) | |
download | rneovim-8952def50afa8308e044c0100e6d4fa367d0a9c2.tar.gz rneovim-8952def50afa8308e044c0100e6d4fa367d0a9c2.tar.bz2 rneovim-8952def50afa8308e044c0100e6d4fa367d0a9c2.zip |
Merge pull request #19595 from zeertzjq/vim-9.0.0124
vim-patch:9.0.0124: code has more indent than needed
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index fae22ce06f..2d752eade7 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -2922,10 +2922,11 @@ void check_scrollbind(linenr_T topline_diff, long leftcol_diff) FOR_ALL_WINDOWS_IN_TAB(wp, curtab) { curwin = wp; curbuf = curwin->w_buffer; - // skip original window and windows with 'noscrollbind' + // skip original window and windows with 'noscrollbind' if (curwin == old_curwin || !curwin->w_p_scb) { continue; } + // do the vertical scroll if (want_ver) { if (old_curwin->w_p_diff && curwin->w_p_diff) { |