diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-09-24 08:29:16 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-24 08:29:16 -0400 |
| commit | 3c12d3ad04f15184ec6ea86aa095d33355a2089d (patch) | |
| tree | e556467b6993421480ac40839f4c4af36cc17b2a /runtime/lua/vim/provider/python.lua | |
| parent | ac8ee88a219068784d33cd35bc73700ce4bcf319 (diff) | |
| download | rneovim-3c12d3ad04f15184ec6ea86aa095d33355a2089d.tar.gz rneovim-3c12d3ad04f15184ec6ea86aa095d33355a2089d.tar.bz2 rneovim-3c12d3ad04f15184ec6ea86aa095d33355a2089d.zip | |
fix(multicursor): don't dedupe primary-overlapping cursor #42060
Problem:
A primary-overlapping cursor is deduped before an edit. But if
a Visual/Insert action moves the primary first, the cursor is not
skipped (e.g. `vipQva)c` replays at the primary-overlapping cursor).
Solution:
Skip _replay_ of a primary-overlapping cursor, but don't _dedupe_ it.
Keep its position synced with the primary.
Sample the primary-overlapping cursor (`CmdOrigin.mcursor`) at the
action start (first root frame, or Visual session-start), instead of
current frame start.
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions