]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): document ComplMatchIns highlight for insert-completion
authorglepnir <glephunter@gmail.com>
Fri, 14 Feb 2025 16:57:52 +0000 (17:57 +0100)
committerChristian Brabandt <cb@256bit.org>
Fri, 14 Feb 2025 16:57:52 +0000 (17:57 +0100)
closes: #16636

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/insert.txt

index a5d245f50ded30eb63c50623cfe90d9b29cccc4e..71ba061db363454848e56792caa40911e6b66d7d 100644 (file)
@@ -1,4 +1,4 @@
-*insert.txt*    For Vim version 9.1.  Last change: 2024 Dec 31
+*insert.txt*    For Vim version 9.1.  Last change: 2025 Feb 14
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -657,6 +657,11 @@ CTRL-N (next), and CTRL-P (previous).
 To get the current completion information, |complete_info()| can be used.
 Also see the 'infercase' option if you want to adjust the case of the match.
 
+When inserting a selected candidate word from the |popup-menu|, the part of
+the candidate word that does not match the query is highlighted using
+|hl-ComplMatchIns|. If fuzzy is enabled in 'completopt', highlighting will not
+be applied.
+
                                                        *complete_CTRL-E*
 When completion is active you can use CTRL-E to stop it and go back to the
 originally typed text.  The CTRL-E will not be inserted.