diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-08-16 18:00:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-16 18:00:55 -0400 |
| commit | 581ce0b3dad3d8dcb7fdfd872f2d447f6c75dc1c (patch) | |
| tree | fbc8ee2bdffe396ee9539e9abd67c43e589f1479 /runtime/lua | |
| parent | 0e436350a589a5ac3f40f8a622470fd247e8fd88 (diff) | |
| download | rneovim-581ce0b3dad3d8dcb7fdfd872f2d447f6c75dc1c.tar.gz rneovim-581ce0b3dad3d8dcb7fdfd872f2d447f6c75dc1c.tar.bz2 rneovim-581ce0b3dad3d8dcb7fdfd872f2d447f6c75dc1c.zip | |
fix(cmdatom): <Cmd> mappings #41347
Problem:
`<cmd>` mappings do not emit `CmdAtom.text`.
`<cmd>` and Lua-callback mappings that edit the buffer apply only at the
primary cursor, not cascaded (multicursor).
Solution:
Capture the `<cmd>` command in getcmdkeycmd().
Add kKeyOpaque ("no capturable keys"); narrow kKeySynthetic ("not
a keystroke") to K_EVENT/K_IGNORE, so an opaque mapping's edit still
sets `map_edit` and cascades via LHS-replay.
Diffstat (limited to 'runtime/lua')
0 files changed, 0 insertions, 0 deletions