0
0
mirror of https://github.com/vim/vim.git synced 2025-10-18 07:54:29 -04:00

patch 9.1.0258: half-page scrolling broke backward compatibility

Problem:  Support for 'smoothscroll' in (half-)page scrolling
          broke backward compatibility and can be made to work better.
          (after v9.1.215)
Solution: Restore the previous cursor and end-of-buffer behavior for
          half-page scrolling and improve 'smoothscroll' support.
          (Luuk van Baal)

fixes: #14338
closes: #14377

Signed-off-by: Luuk van Baal <luukvbaal@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Luuk van Baal
2024-04-02 20:49:45 +02:00
committed by Christian Brabandt
parent f1750ca0c2
commit cb204e688e
11 changed files with 212 additions and 96 deletions

View File

@@ -1679,8 +1679,7 @@ func Test_diff_scroll_many_filler()
endfor
set smoothscroll&
bwipe!
bwipe!
%bwipe!
endfunc
" This was trying to update diffs for a buffer being closed