aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-05-06 09:23:09 +0800
committerGitHub <noreply@github.com>2026-05-06 09:23:09 +0800
commit60d069d4223271d6c1bd03fb5d103e7bd085319c (patch)
treef470c785fcb76b13f3039ac14ce9fb808b0d0a28 /runtime/lua/vim/provider/python.lua
parent2bb426ce4a9cf890edafec5916bb6db8a0523975 (diff)
downloadrneovim-60d069d4223271d6c1bd03fb5d103e7bd085319c.tar.gz
rneovim-60d069d4223271d6c1bd03fb5d103e7bd085319c.tar.bz2
rneovim-60d069d4223271d6c1bd03fb5d103e7bd085319c.zip
vim-patch:9.2.0445: win_fix_scroll() called before win_comp_pos() in command_height() (#39619)
Problem: win_fix_scroll(true) is called before win_comp_pos() in command_height(). Solution: Move win_fix_scroll(true) after win_comp_pos(), matching the ordering used in win_drag_status_line() (Jesse Rosenstock). Patch 9.2.0413 added win_fix_scroll(true) to command_height() to handle splitkeep when cmdheight changes, but placed the call before win_comp_pos(). win_fix_scroll() reads w_winrow to detect window movement (https://github.com/vim/vim/blob/620557bd48865fa3d927901764d2747bf68597b5/src/window.c#L7266), but w_winrow is not recomputed until win_comp_pos() runs (https://github.com/vim/vim/blob/620557bd48865fa3d927901764d2747bf68597b5/src/window.c#L6516). This causes incorrect scroll adjustments and was breaking Test_smoothscroll_incsearch on macOS CI. closes: vim/vim#20138 https://github.com/vim/vim/commit/40fc78f0a185f003844334e7c9dd217d6d993143 Co-authored-by: Gemini Co-authored-by: Jesse Rosenstock <jmr@google.com>
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions