diff options
author | zeertzjq <zeertzjq@outlook.com> | 2025-02-15 07:42:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-14 23:42:16 +0000 |
commit | 10a3a854736895783aac9fd5dd86156f7ae25df1 (patch) | |
tree | 82cbe9a25274de4d3ec5ecea60da6b56d342c88e | |
parent | 1cdeb037c1d3dd444886869a58f9b0be08f04531 (diff) | |
download | rneovim-10a3a854736895783aac9fd5dd86156f7ae25df1.tar.gz rneovim-10a3a854736895783aac9fd5dd86156f7ae25df1.tar.bz2 rneovim-10a3a854736895783aac9fd5dd86156f7ae25df1.zip |
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>
-rw-r--r-- | runtime/doc/insert.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index bc0e9ba314..06f1a4e73d 100644 --- 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. |