Function: consult--annotate-align
consult--annotate-align is a natively compiled function defined in
consult.el.
Signature
(consult--annotate-align CAND ANN)
Documentation
Align annotation ANN by computing the maximum CAND width.
Source Code
;; Defined in /nix/store/6higv2v1wk916v4ynnybyrdkfy2gq44d-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-20261004.957/consult.el
;;;; Internal API: consult--read
(defun consult--annotate-align (cand ann)
"Align annotation ANN by computing the maximum CAND width."
(setq consult--annotate-align-width
(max consult--annotate-align-width
(* (ceiling (consult--display-width cand)
consult--annotate-align-step)
consult--annotate-align-step)))
(when ann
(concat
#(" " 0 1 (display (space :align-to (+ left consult--annotate-align-width))))
ann)))