runtime(doc): improve docs related to 'autocomplete'

Manual completion can still be used when 'autocomplete' is set, so
saying "active" is better than "enabled".

closes: #18261

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2025-09-10 07:35:40 -04:00
committed by Christian Brabandt
parent fe0061c609
commit b2c8848055
2 changed files with 6 additions and 6 deletions

View File

@ -2301,12 +2301,12 @@ A jump table for the options with a short description can be found at |Q_op|.
{only works when compiled with the |+textprop| feature}
preinsert
When autocompletion is not enabled, inserts the part of the
When 'autocomplete' is not active, inserts the part of the
first candidate word beyond the current completion leader,
highlighted with |hl-PreInsert|. The cursor does not
move. Requires 'fuzzy' unset and 'menuone' in 'completeopt'.
highlighted with |hl-PreInsert|. The cursor doesn't move.
Requires "fuzzy" unset and "menuone" in 'completeopt'.
When 'autocomplete' is enabled, inserts the longest common
When 'autocomplete' is active, inserts the longest common
prefix of matches (from all shown items or from the
current buffer items). This occurs only when no menu item
is selected. Press CTRL-Y to accept.