diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-09-06 13:15:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-06 17:15:48 +0000 |
| commit | 2ac9dfc45dd58cfae61c87ab938c49a22c3d1801 (patch) | |
| tree | ae7358e0ef61347aab1f4c9a6102c9159dff7571 /runtime/lua/vim/_async.lua | |
| parent | d951908e122738c0f86947b7d07d3768928e8309 (diff) | |
| download | rneovim-2ac9dfc45dd58cfae61c87ab938c49a22c3d1801.tar.gz rneovim-2ac9dfc45dd58cfae61c87ab938c49a22c3d1801.tar.bz2 rneovim-2ac9dfc45dd58cfae61c87ab938c49a22c3d1801.zip | |
fix(multicursor): live-preview ":norm" visual selection #41736
Problem:
A Visual selection opened programmatically (`:normal! viw`) is not
previewed at the other cursors, and a user-typed operator completing it
does not cascade.
":normal" keys run as child frames, which are never user input, so the
session they build was classified "fed" once and never revisited.
Solution:
Recalculate the session kind (`vatom.state`) on every frame. Record
`vatom.frame` (the last frame to add to the session) so an enclosing
frame does not reset or recapture it.
Diffstat (limited to 'runtime/lua/vim/_async.lua')
0 files changed, 0 insertions, 0 deletions