diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-05-31 16:49:20 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2025-06-03 06:30:46 +0800 |
| commit | 0af6d6ff5e0ad6d38e200c6b84b9cc22aecb1378 (patch) | |
| tree | 4b88974731f4f8f395871e78b1e2644ec6b48bc2 /runtime/lua/vim/_editor.lua | |
| parent | 33b0a004eb20fd5a0013b832414596190c059828 (diff) | |
| download | rneovim-0af6d6ff5e0ad6d38e200c6b84b9cc22aecb1378.tar.gz rneovim-0af6d6ff5e0ad6d38e200c6b84b9cc22aecb1378.tar.bz2 rneovim-0af6d6ff5e0ad6d38e200c6b84b9cc22aecb1378.zip | |
vim-patch:9.1.1147: preview-window does not scroll correctly
Problem: preview-window does not scroll correctly
Solution: init firstline = 0 for a preview window
(Girish Palya)
The 'info' window, which appears during insert-mode completion to display
additional information, was not scrolling properly when using commands like:
win_execute(popup_findinfo(), "normal! \<PageDown>")
This issue made it impossible to navigate through info window contents using
keyboard-based scrolling.
The fix correctly updates the w_firstline value of the popup window, ensuring
proper scrolling behavior. Mouse scrolling was already working as expected and
remains unaffected.
closes: vim/vim#16703
https://github.com/vim/vim/commit/12b1eb58abca1eabc4833ad855c8a31d8b40981e
Co-authored-by: Girish Palya <girishji@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
0 files changed, 0 insertions, 0 deletions