]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1638: completion: not possible to delay the autcompletion v9.1.1638
authorGirish Palya <girishji@gmail.com>
Sat, 16 Aug 2025 16:04:04 +0000 (18:04 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 16 Aug 2025 16:04:04 +0000 (18:04 +0200)
commita09b1604d4fe7516d87fbcbf2ffd2dc484799b23
treeec73dbe5fe1eb9a1ae05c643822798e9d2e0ef2c
parentb405c790046fc6758bf4a90feb6a67c2411685a0
patch 9.1.1638: completion: not possible to delay the autcompletion

Problem:  completion: not possible to delay the autcompletion
Solution: add the 'autocompletedelay' option value (Girish Palya).

This patch introduces a new global option 'autocompletedelay'/'acl' that
specifies the delay, in milliseconds, before the autocomplete menu
appears after typing.

When set to a non-zero value, Vim waits for the specified time before
showing the completion popup, allowing users to reduce distraction from
rapid suggestion pop-ups or to fine-tune the responsiveness of
completion.

The default value is 0, which preserves the current immediate-popup
behavior.

closes: #17960

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
20 files changed:
runtime/doc/insert.txt
runtime/doc/options.txt
runtime/doc/quickref.txt
runtime/doc/tags
runtime/doc/version9.txt
runtime/optwin.vim
runtime/syntax/vim.vim
src/insexpand.c
src/option.h
src/optiondefs.h
src/po/vim.pot
src/testdir/dumps/Test_autocompletedelay_1.dump [new file with mode: 0644]
src/testdir/dumps/Test_autocompletedelay_2.dump [new file with mode: 0644]
src/testdir/dumps/Test_autocompletedelay_3.dump [new file with mode: 0644]
src/testdir/dumps/Test_autocompletedelay_4.dump [new file with mode: 0644]
src/testdir/dumps/Test_autocompletedelay_5.dump [new file with mode: 0644]
src/testdir/dumps/Test_autocompletedelay_6.dump [new file with mode: 0644]
src/testdir/dumps/Test_autocompletedelay_7.dump [new file with mode: 0644]
src/testdir/test_ins_complete.vim
src/version.c