diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-09-11 07:18:00 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2025-09-11 07:23:29 +0800 |
| commit | aa33ea86e1ce37e0d8bf4d52630c446aafcced6c (patch) | |
| tree | d9d69e26701f80513c33c5983317a43b83a86a4d /runtime/syntax/python.vim | |
| parent | 5a7586a10960c3df1e4c3f326c1f9ff6d734fb04 (diff) | |
| download | rneovim-aa33ea86e1ce37e0d8bf4d52630c446aafcced6c.tar.gz rneovim-aa33ea86e1ce37e0d8bf4d52630c446aafcced6c.tar.bz2 rneovim-aa33ea86e1ce37e0d8bf4d52630c446aafcced6c.zip | |
vim-patch:9.1.1752: tests: need another test for v9.1.1750 behaviour
Problem: tests: No test when deleting text after autocompletion with preinsert
did complete an entry
Solution: Verify, that after deletion autocompletion does not reinsert
the deleted text. Note: the actual issue was fixed with v9.1.1750.
(Girish Palya)
Pre v9.1.1750 behaviour:
When autocomplete is enabled with *preinsert*, deleting text after selecting a
longer match could cause unintended reinsertion, e.g.:
- Matches available: "foo" and "foobar".
- User selects "foobar" with Ctrl-N
- User deletes characters back to "foo".
- Autocomplete then incorrectly re-inserts "bar", preventing deletion past "foo".
v9.1.1750 removes the unwanted reinsertion so text can be deleted correctly.
closes: vim/vim#18259
https://github.com/vim/vim/commit/fe0061c6093aac817ed6061b75868a97a116d9c0
Co-authored-by: Girish Palya <girishji@gmail.com>
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions