aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/python.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-09-10 05:57:03 -0400
committerGitHub <noreply@github.com>2026-09-10 05:57:03 -0400
commit8c292c96dd8f901264b23697bfdb5e7e2441ef5d (patch)
tree234e7510e50b881d79e22b9d6e696fb52d8bfa88 /runtime/syntax/python.vim
parent0c9012f295eedd7283bbf7f9a0fbef3781ba50f4 (diff)
downloadrneovim-8c292c96dd8f901264b23697bfdb5e7e2441ef5d.tar.gz
rneovim-8c292c96dd8f901264b23697bfdb5e7e2441ef5d.tar.bz2
rneovim-8c292c96dd8f901264b23697bfdb5e7e2441ef5d.zip
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.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions