Files
neovim/src
Justin M. Keyes 8c292c96dd fix(autocmd): dot-repeat triggers InsertCharPre #41806
Problem:
InsertCharPre is triggered for stuffed text (".", i_CTRL-R, i_CTRL-A).
But that text was already transformed when it was typed: the `v:char`
result is appended to the redo buffer literally (`redo_append_lit()`).
So "." transforms it again, e.g. an autopair handler turns "()" into
"())".

Solution:
Skip InsertCharPre for stuffed text.

Precedent: `vgetorpeek()` disables abbreviations for stuffed text for
the same reason (it is post-expansion).

Macros are unaffected.
2026-09-10 05:57:03 -04:00
..
2026-09-09 15:50:38 +01:00
2026-08-30 10:53:36 +02:00
2023-11-05 20:19:06 +01:00
2025-08-02 15:58:11 -07:00
2026-08-30 10:53:36 +02:00
2026-06-28 19:01:24 -04:00