aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim-patch.sh
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-09-20 10:19:50 -0400
committerGitHub <noreply@github.com>2026-09-20 10:19:50 -0400
commit0ea627cfb7713dd77dab00fff1073e5e407f263e (patch)
treea04352e1cd732ca2e1ba5559e29fb34213f3d2ed /scripts/vim-patch.sh
parentd387adf9cc731835b3d71d5a9d550eb6e1d7296f (diff)
downloadrneovim-0ea627cfb7713dd77dab00fff1073e5e407f263e.tar.gz
rneovim-0ea627cfb7713dd77dab00fff1073e5e407f263e.tar.bz2
rneovim-0ea627cfb7713dd77dab00fff1073e5e407f263e.zip
fix(multicursor): replay of Lua mapping-id ending in "0" #42011
Problem: - A captured Lua mapping (`K_LUA`+id) whose id ends in "0" replays the wrong mapping: `atom_from_cmdline()` escapes the id like a typed cmdline (trailing "0" => CTRL-V "048"), but the id is read raw. E.g. treesitter `an` (id 60) replays `gc` (id 6), so `van` does not preview/cascade at mcursors. - Same for `<Cmd>…` ending in "0" or "^" (`<Cmd>normal! 0<CR>`). - `c` + Lua/":" textobj (`canX`) does not insert-cascade. Solution: - Only CTRL-V-escape ":", "/" cmdline; append `<Cmd>` and Lua mapping-ids "raw" (`sb_add_spec()`). - `kVInsMotion`: an insert entered by Ex/Lua motion re-executes the motion, unless it read input.
Diffstat (limited to 'scripts/vim-patch.sh')
0 files changed, 0 insertions, 0 deletions