Variable: marginalia-annotators
marginalia-annotators is a customizable variable defined in
marginalia.el.
Value
((projectile-project marginalia-annotate-file builtin none)
(command marginalia-annotate-command marginalia-annotate-binding
builtin none)
(embark-keybinding marginalia-annotate-embark-keybinding builtin none)
(customize-group marginalia-annotate-customize-group builtin none)
(variable marginalia-annotate-variable builtin none)
(function marginalia-annotate-function builtin none)
(face marginalia-annotate-face builtin none)
(color marginalia-annotate-color builtin none)
(unicode-name marginalia-annotate-char builtin none)
(minor-mode marginalia-annotate-minor-mode builtin none)
(symbol marginalia-annotate-symbol builtin none)
(environment-variable marginalia-annotate-environment-variable
builtin none)
(input-method marginalia-annotate-input-method builtin none)
(coding-system marginalia-annotate-coding-system builtin none)
(charset marginalia-annotate-charset builtin none)
(package marginalia-annotate-package builtin none)
(imenu marginalia-annotate-imenu builtin none)
(bookmark marginalia-annotate-bookmark builtin none)
(file marginalia-annotate-file builtin none)
(project-file marginalia-annotate-project-file builtin none)
(project-buffer marginalia-annotate-buffer builtin none)
(buffer marginalia-annotate-buffer builtin none)
(library marginalia-annotate-library builtin none)
(theme marginalia-annotate-theme builtin none)
(tab marginalia-annotate-tab builtin none)
(frame marginalia-annotate-frame builtin none)
(multi-category marginalia-annotate-multi-category builtin none))
Documentation
Annotator function registry.
Associates completion categories with annotation functions. Each annotation function must return a string, which is appended to the completion candidate. The annotation functions are executed in the original window and the original buffer, if still alive.
Source Code
;; Defined in ~/.emacs.d/elpa/marginalia-20260724.810/marginalia.el
(defcustom marginalia-annotators
(mapcar
(lambda (x) (append x (list 'builtin 'none)))
`((command ,#'marginalia-annotate-command ,#'marginalia-annotate-binding)
(embark-keybinding ,#'marginalia-annotate-embark-keybinding)
(customize-group ,#'marginalia-annotate-customize-group)
(variable ,#'marginalia-annotate-variable)
(function ,#'marginalia-annotate-function)
(face ,#'marginalia-annotate-face)
(color ,#'marginalia-annotate-color)
(unicode-name ,#'marginalia-annotate-char)
(minor-mode ,#'marginalia-annotate-minor-mode)
(symbol ,#'marginalia-annotate-symbol)
(environment-variable ,#'marginalia-annotate-environment-variable)
(input-method ,#'marginalia-annotate-input-method)
(coding-system ,#'marginalia-annotate-coding-system)
(charset ,#'marginalia-annotate-charset)
(package ,#'marginalia-annotate-package)
(imenu ,#'marginalia-annotate-imenu)
(bookmark ,#'marginalia-annotate-bookmark)
(file ,#'marginalia-annotate-file)
(project-file ,#'marginalia-annotate-project-file)
(project-buffer ,#'marginalia-annotate-buffer)
(buffer ,#'marginalia-annotate-buffer)
(library ,#'marginalia-annotate-library)
(theme ,#'marginalia-annotate-theme)
(tab ,#'marginalia-annotate-tab)
(frame ,#'marginalia-annotate-frame)
(multi-category ,#'marginalia-annotate-multi-category)))
"Annotator function registry.
Associates completion categories with annotation functions. Each
annotation function must return a string, which is appended to the
completion candidate. The annotation functions are executed in the
original window and the original buffer, if still alive."
:type '(alist :key-type symbol :value-type (repeat symbol)))