Variable: corfu-on-exact-match
corfu-on-exact-match is a customizable variable defined in corfu.el.
Value
nil
Documentation
Configure how a single exact match should be handled.
- nil: No special handling, continue completion.
- insert: Insert candidate, quit and call the :exit-function.
- quit: Quit completion without further action.
- show: Initiate completion even for a single match only.
Source Code
;; Defined in ~/.emacs.d/elpa/corfu-20260813.950/corfu.el
(defcustom corfu-on-exact-match nil
"Configure how a single exact match should be handled.
- nil: No special handling, continue completion.
- insert: Insert candidate, quit and call the `:exit-function'.
- quit: Quit completion without further action.
- show: Initiate completion even for a single match only."
:type '(choice (const insert) (const show) (const quit) (const nil)))