Skip to content

Commit faf4112

Browse files
glepnirchrisbra
authored andcommitted
runtime(doc): document ComplMatchIns highlight for insert-completion
closes: #16636 Signed-off-by: glepnir <[email protected]> Signed-off-by: Christian Brabandt <[email protected]>
1 parent 73d8222 commit faf4112

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

runtime/doc/insert.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*insert.txt* For Vim version 9.1. Last change: 2024 Dec 31
1+
*insert.txt* For Vim version 9.1. Last change: 2025 Feb 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -657,6 +657,11 @@ CTRL-N (next), and CTRL-P (previous).
657657
To get the current completion information, |complete_info()| can be used.
658658
Also see the 'infercase' option if you want to adjust the case of the match.
659659

660+
When inserting a selected candidate word from the |popup-menu|, the part of
661+
the candidate word that does not match the query is highlighted using
662+
|hl-ComplMatchIns|. If fuzzy is enabled in 'completopt', highlighting will not
663+
be applied.
664+
660665
*complete_CTRL-E*
661666
When completion is active you can use CTRL-E to stop it and go back to the
662667
originally typed text. The CTRL-E will not be inserted.

0 commit comments

Comments
 (0)