summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_extui/shared.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-11-20 12:33:02 +0800
committerGitHub <noreply@github.com>2025-11-20 12:33:02 +0800
commita04c73cc17f5fd9643fcf9de28ef957547f4a424 (patch)
treef31db23a4ad91d4251e5bdd2b24af8fa8bed3890 /runtime/lua/vim/_extui/shared.lua
parent3b6df3ae55689e77c58e89fdb92e0f832e1340c2 (diff)
fix(input): discard following keys when discarding <Cmd>/K_LUA (#36498)
Technically the current behavior does match documentation. However, the keys following <Cmd>/K_LUA aren't normally received by vim.on_key() callbacks either, so it does makes sense to discard them along with the preceding key. One may also argue that vim.on_key() callbacks should instead receive the following keys together with the <Cmd>/K_LUA, but doing that may cause some performance problems, and even in that case the keys should still be discarded together.
Diffstat (limited to 'runtime/lua/vim/_extui/shared.lua')
0 files changed, 0 insertions, 0 deletions