fix: marginalia not showing relevant info

This commit is contained in:
Leon Schwarzäugl 2025-08-09 14:30:41 +02:00
parent 5440fd2c8a
commit 37686e3a1e
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
2 changed files with 12 additions and 6 deletions

View file

@ -18716,11 +18716,14 @@ Provides previews for embark.
I set the annotation-mode of marginalia to =heavy=. This gives even more information on the stuff that you are looking at. One thing I am missing from ivy is the highlighting on =mode=-commands based on the current state of the mode. Also, I do not understand all the shorthands used by marginalia yet. I set the annotation-mode of marginalia to =heavy=. This gives even more information on the stuff that you are looking at. One thing I am missing from ivy is the highlighting on =mode=-commands based on the current state of the mode. Also, I do not understand all the shorthands used by marginalia yet.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package marginalia (use-package marginalia
:after vertico :after vertico
:init :bind (:map minibuffer-local-map
(marginalia-mode) ("M-A" . marginalia-cycle))
(setq marginalia-annotators '(marginalia-annotators-heavy marginalia-annotators-light nil))) :init
(marginalia-mode)
;; (setq marginalia-annotators '(marginalia-annotators-heavy marginalia-annotators-light nil))
)
#+end_src #+end_src
***** nerd-icons-completion ***** nerd-icons-completion

View file

@ -713,9 +713,12 @@ create a new one."
(use-package marginalia (use-package marginalia
:after vertico :after vertico
:bind (:map minibuffer-local-map
("M-A" . marginalia-cycle))
:init :init
(marginalia-mode) (marginalia-mode)
(setq marginalia-annotators '(marginalia-annotators-heavy marginalia-annotators-light nil))) ;; (setq marginalia-annotators '(marginalia-annotators-heavy marginalia-annotators-light nil))
)
(use-package nerd-icons-completion (use-package nerd-icons-completion
:after (marginalia nerd-icons) :after (marginalia nerd-icons)