aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorluukvbaal <luukvbaal@gmail.com>2026-03-12 23:38:39 +0100
committerGitHub <noreply@github.com>2026-03-12 18:38:39 -0400
commit52dd62aa6eccd74aab5197ae84136d1ee08fc4f5 (patch)
tree877bc1a323f399ddbe717fef8de699f9df58eba1 /runtime/lua/vim/provider/python.lua
parentce1154048b11cdc402d0e5da352a3adca19afb56 (diff)
downloadrneovim-52dd62aa6eccd74aab5197ae84136d1ee08fc4f5.tar.gz
rneovim-52dd62aa6eccd74aab5197ae84136d1ee08fc4f5.tar.bz2
rneovim-52dd62aa6eccd74aab5197ae84136d1ee08fc4f5.zip
fix(ui2): use pager to list consecutively typed commands #38272
Problem: Mimicked block mode for cmdline entered while expanded does not work intuitively for repeated commands yielding messages exceeding the screen height. The expanded cmdline resizes and scrolls to bottom/top when appending a message and entering the cmdline. Also includes the entered command, as opposed to the UI1 behavior. Crash when scrolling to bottom of pager due to recursive uv_run after shell message callback executes `nvim_command()` with 'showcmd'. Solution: Still mimic block mode when entering the expanded cmdline, but when the entered command emits a message open the pager with the current message content in the expanded cmdline. Always route typed commands to the pager when it is open. Use `nvim_buf_set_cursor()` instead of `nvim_command()`.
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions