diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-09-23 07:46:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-23 07:46:36 -0400 |
| commit | e5a5d212bbaa5d3beb837c6739e8e4ec23c9a2f8 (patch) | |
| tree | c856923673337d332d952462f9931e60262eaae5 /runtime/lua/vim/provider/python.lua | |
| parent | 123d46436cc3b3df9a339c3e136fd408856a0c28 (diff) | |
| download | rneovim-e5a5d212bbaa5d3beb837c6739e8e4ec23c9a2f8.tar.gz rneovim-e5a5d212bbaa5d3beb837c6739e8e4ec23c9a2f8.tar.bz2 rneovim-e5a5d212bbaa5d3beb837c6739e8e4ec23c9a2f8.zip | |
fix(multicursor): edit applied twice at cursor overlapping the primary #42050
Problem:
A cursor overlapping the primary is deduped by comparing positions at
the clock edge, i.e. after the primary edit executed. A "replace" at the
cursor cell ("rx", "~", "g~iw") shifts the overlapping extmark, so it no
longer matches and gets its own replay. E.g. "vipQg~~" applies twice to
the 2nd line, which inverts the effect.
Solution:
Decide "overlaps the primary" at cmd start, before the edit.
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions