diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-09-05 11:52:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-05 11:52:25 -0400 |
| commit | c543e9e1de184a21f554a15beddd2259b40eaba8 (patch) | |
| tree | dc6b903caea944cf59fc518c5605e2d67dd8d435 /runtime/lua/vim/_async.lua | |
| parent | 0c642196b9643a40cc797c87cd8b0b6f05fac844 (diff) | |
| download | rneovim-c543e9e1de184a21f554a15beddd2259b40eaba8.tar.gz rneovim-c543e9e1de184a21f554a15beddd2259b40eaba8.tar.bz2 rneovim-c543e9e1de184a21f554a15beddd2259b40eaba8.zip | |
fix(cmdatom): exclude <expr> EVALUATION input from `CmdAtom.keys` #41718
Problem:
Input (`getchar()`, `input()`, …) consumed by an expr mapping EVALUATION
can leak into `CmdAtom.keys`, depending on count placement ("2dse" vs
"d2se").
Solution:
Skip payload capture while `expr_map_lock` is active.
- Input read during expr EVALUATION is recorded in `CmdAtom.lhs`.
- Only input read by mapping EXECUTION is appended to `CmdAtom.keys`.
Diffstat (limited to 'runtime/lua/vim/_async.lua')
0 files changed, 0 insertions, 0 deletions