diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-10-12 13:07:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-12 13:07:51 -0400 |
| commit | 13995eb22efc207f1aaf9b0e250f9bc1ae08e0fd (patch) | |
| tree | 25e26bf35624c400595d96fb4f5058d5b9e83585 /runtime/lua/vim/_ftplugin/lua.lua | |
| parent | 2f047b56683e8823ab1064a512e7faca0ba5e0bb (diff) | |
| download | rneovim-13995eb22efc207f1aaf9b0e250f9bc1ae08e0fd.tar.gz rneovim-13995eb22efc207f1aaf9b0e250f9bc1ae08e0fd.tar.bz2 rneovim-13995eb22efc207f1aaf9b0e250f9bc1ae08e0fd.zip | |
fix(multicursor): v:cascading during on_key, insert-preview #42319
Problem:
- `v:cascading` is false during the Insert-mode live-preview.
- `vim.on_key()` sees the internal keys of the Visual-selection preview
and "zq" steps.
Solution:
- Set `v:cascading` during the Insert-mode preview.
- Don't send internal keys to `on_key` callbacks.
- Use `v:cascading` as the source of truth for `mc_replaying()`.
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions