aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_async.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-09-06 14:50:48 -0400
committerGitHub <noreply@github.com>2026-09-06 18:50:48 +0000
commit6cbde6a95f2da043ef8cb66b7e51daedd3bacffb (patch)
tree2c0ed7b45ad161d370526c66e4439cc12ecb50b4 /runtime/lua/vim/_async.lua
parent5f1f5a8c2a00145eb4bfbb5979efa14934ef90cf (diff)
downloadrneovim-6cbde6a95f2da043ef8cb66b7e51daedd3bacffb.tar.gz
rneovim-6cbde6a95f2da043ef8cb66b7e51daedd3bacffb.tar.bz2
rneovim-6cbde6a95f2da043ef8cb66b7e51daedd3bacffb.zip
fix(multicursor): Visual-mode mapping loses its commands #41741
Problem: A Visual-mode mapping that leaves Visual mode ("xmap I Q0i") does not replay its motions/edits at the extra cursors, though an insert session it starts does. atom_map_start() skips while Visual is active, so the mapping has no `composite`, and atom_capturable() then rejects its commands. Solution: Open the `composite` for Visual-mode mappings too. Bonus: the mapping atom is now reported as: before: type=visual, keys="viwcFOO<Esc>" after: type=mapping, keys="viwc<Esc>iFOO<Esc>", lhs=",c"
Diffstat (limited to 'runtime/lua/vim/_async.lua')
0 files changed, 0 insertions, 0 deletions