Skip to content

Commit

Permalink
vim-patch:faf4112: runtime(doc): document ComplMatchIns highlight for…
Browse files Browse the repository at this point in the history
… insert-completion (neovim#32448)

closes: vim/vim#16636

vim/vim@faf4112

Co-authored-by: glepnir <[email protected]>
  • Loading branch information
zeertzjq and glepnir authored Feb 14, 2025
1 parent 1cdeb03 commit 10a3a85
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions runtime/doc/insert.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 10a3a85

Please sign in to comment.