Files
neovim/runtime/doc
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-02-12 13:46:45 +01:00
2026-09-07 15:33:22 +01:00
2024-05-15 23:19:26 +02:00
2026-09-07 15:33:22 +01:00
2026-08-01 17:48:32 -04:00
2026-08-01 17:48:32 -04:00
2025-12-06 20:33:02 -05:00
2023-06-25 17:14:28 +02:00
2026-09-01 15:17:22 +00:00
2026-09-01 15:17:22 +00:00
2026-01-27 17:14:57 -05:00
2026-09-01 15:17:22 +00:00
2026-09-01 15:17:22 +00:00
2026-09-09 22:31:58 +01:00
2026-09-09 15:50:38 +01:00
2026-09-08 16:50:53 +01:00
2025-12-15 13:55:15 -05:00
2026-03-16 10:29:58 +01:00
2025-09-28 20:57:59 -07:00
2026-05-07 10:36:55 +02:00
2026-05-14 13:13:30 -04:00
2025-12-15 13:55:15 -05:00
2026-08-23 12:38:07 -04:00
2026-04-22 18:25:07 -04:00
2026-09-01 15:17:22 +00:00
2026-05-17 10:02:12 -04:00
2026-08-06 10:27:29 +02:00
2026-05-07 10:36:48 +02:00
2026-09-01 15:17:22 +00:00
2026-07-25 12:47:51 -04:00
2026-08-06 10:27:29 +02:00
2026-09-01 15:17:22 +00:00
2026-09-01 15:17:22 +00:00
2026-07-30 15:09:19 -04:00