neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 10a3a854736895783aac9fd5dd86156f7ae25df1
parent 1cdeb037c1d3dd444886869a58f9b0be08f04531
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Sat, 15 Feb 2025 07:42:16 +0800

vim-patch:faf4112: runtime(doc): document ComplMatchIns highlight for insert-completion (#32448)

closes: vim/vim#16636

https://github.com/vim/vim/commit/faf4112cdc60ca126986da15148f78337f126cf7

Co-authored-by: glepnir <glephunter@gmail.com>
Diffstat:
Mruntime/doc/insert.txt | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt @@ -637,6 +637,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.