runtime(doc): document ComplMatchIns highlight for insert-completion Commit: https://github.com/vim/vim/commit/faf4112cdc60ca126986da15148f78337f126cf7 Author: glepnir <glephun...@gmail.com> Date: Fri Feb 14 17:57:52 2025 +0100
runtime(doc): document ComplMatchIns highlight for insert-completion closes: https://github.com/vim/vim/issues/16636 Signed-off-by: glepnir <glephun...@gmail.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index a5d245f50..71ba061db 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -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. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1tiz2w-008jMo-Jj%40256bit.org.