Function: vertico--format-candidate
vertico--format-candidate is a byte-compiled function defined in
vertico.el.
Signature
(vertico--format-candidate CAND PREFIX SUFFIX INDEX START)
Documentation
Format CAND given PREFIX, SUFFIX and INDEX.
Implementations
(vertico--format-candidate CAND PREFIX SUFFIX INDEX START) in `vertico.el'.
Undocumented
Source Code
;; Defined in /nix/store/h1nc2k1rxmi6k9cfflcd37cf4zfhp2v5-emacs-packages-deps/share/emacs/site-lisp/elpa/vertico-20260913.1525/vertico.el
(cl-defgeneric vertico--format-candidate (cand prefix suffix index _start)
"Format CAND given PREFIX, SUFFIX and INDEX."
(setq cand (vertico--display-string (concat prefix cand suffix "\n")))
(when (= index vertico--index)
(add-face-text-property 0 (length cand) 'vertico-current 'append cand))
cand)