diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-09-27 09:09:03 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2025-09-30 09:32:33 +0800 |
| commit | 7b9c063d116064bb0765c76277fe210c7ac01d0c (patch) | |
| tree | 11d0bee3aee16edcfe6c788fe0c7bb52d1a42397 /runtime/lua/vim/_defaults.lua | |
| parent | 4896178863dc912baaf68ddcddab28eecc8f00d7 (diff) | |
| download | rneovim-7b9c063d116064bb0765c76277fe210c7ac01d0c.tar.gz rneovim-7b9c063d116064bb0765c76277fe210c7ac01d0c.tar.bz2 rneovim-7b9c063d116064bb0765c76277fe210c7ac01d0c.zip | |
vim-patch:9.1.1797: completion: autocompletion can be improved
Problem: completion: autocompletion can be improved
Solution: Add support for "longest" and "preinsert" in 'autocomplete';
add preinserted() (Girish Palya)
* Add support for "longest" in 'completeopt' when 'autocomplete'
is enabled. (Note: the cursor position does not change automatically
when 'autocomplete' is enabled.)
* Add support for "preinsert" when 'autocomplete' is enabled. Ensure
"preinsert" works the same with and without 'autocomplete'
* introduce the preinserted() Vim script function, useful for defining
custom key mappings.
fixes: vim/vim#18314
closes: vim/vim#18387
https://github.com/vim/vim/commit/c05335082adb21d99d96374779856444a3a0688f
Co-authored-by: Girish Palya <girishji@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_defaults.lua')
0 files changed, 0 insertions, 0 deletions