[vim/vim] Option to set minimum character length for 'set autocomplete' trigger (Issue #19570)

2 views
Skip to first unread message

Ruben Gonzalez

unread,
4:47 PM (3 hours ago) 4:47 PM
to vim/vim, Subscribed
gonzaru created an issue (vim/vim#19570)

I would like to configure the minimum number of characters typed before the autocomplete popup appears.

Currently, autocompletion triggers on the very first character. While it is possible to adjust the timing with autocompletedelay, I am looking for a character-count threshold (e.g., requiring 2 or 3 characters) rather than a time-based delay, something like 'autocompleteminchars'.

Pros:

  • Reduces visual noise
  • Avoids querying the completion engine for single-character matches

Cons:

  • ?

Thank you!


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19570@github.com>

Reply all
Reply to author
Forward
0 new messages