diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-05-26 07:26:59 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2026-05-26 07:28:38 +0800 |
| commit | 13def2fa3a3019361fda04852745130139997343 (patch) | |
| tree | 17ef27bbe0dd98b3d37428b92f34f79957ee181d /runtime/autoload/pythoncomplete.vim | |
| parent | 101d19c43e53f3b4970261e9a2f347b3b1147ed0 (diff) | |
| download | rneovim-13def2fa3a3019361fda04852745130139997343.tar.gz rneovim-13def2fa3a3019361fda04852745130139997343.tar.bz2 rneovim-13def2fa3a3019361fda04852745130139997343.zip | |
vim-patch:9.2.0533: '[ mark moved to end of inserted text after CTRL-R CTRL-P paste
Problem: After CTRL-R CTRL-P (or CTRL-R CTRL-O) pastes a register
into Insert mode, a follow-up edit such as backspace makes
stop_arrow() rewrite Insstart with the post-paste cursor
position. As a result the '[ mark points at the end of the
inserted text instead of its start (agguser, after 9.2.0384)
Solution: In stop_arrow(), only pull Insstart back when the cursor
moved above the previous Insstart, so a line-start backspace
can still save the joined range (vim/vim#20031) without disturbing
the start position for inserts that advance the cursor
(Hirohito Higashi).
related: vim/vim#20031
fixes: vim/vim#20130
closes: vim/vim#20322
https://github.com/vim/vim/commit/bc7805323f54405e2e746efde3901b0b6aefe6ff
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'runtime/autoload/pythoncomplete.vim')
0 files changed, 0 insertions, 0 deletions