aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorluukvbaal <luukvbaal@gmail.com>2025-06-09 18:57:28 +0200
committerGitHub <noreply@github.com>2025-06-09 18:57:28 +0200
commite876a739eeb1c0c73bf633ff823a3313f3ea405d (patch)
tree77b1212c2850b8d6896180a3d4fc735572a0d818 /runtime/lua/vim/provider/python.lua
parent2f0fbdaa480c5b014b68bfdb85aa105d0bef3637 (diff)
downloadrneovim-e876a739eeb1c0c73bf633ff823a3313f3ea405d.tar.gz
rneovim-e876a739eeb1c0c73bf633ff823a3313f3ea405d.tar.bz2
rneovim-e876a739eeb1c0c73bf633ff823a3313f3ea405d.zip
fix(messages): recognize cmdline one_key/number prompt State (#34206)
Problem: Since 48e2a736, prompt messages are handled by an actual active cmdline, resulting in `State` no longer being equal to `MODE_CONFIRM` which is used in some places. E.g. to specify the current `mode()` or to re-emit a confirm message. Solution: Replace `MODE_CONFIRM` with a new `MODE_CMDLINE` sub-mode when `ccline.one_key/mouse_used` is set. Use it to avoid clearing mouse_used prompt messages, and to re-emit one_key messages (when ext_messages is inactive, for which this is unnecessary).
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions