Add nerd-icons-corfu back

This commit is contained in:
Evie Litherland-Smith 2024-08-07 18:03:57 +01:00
parent 2ffd455abf
commit a6ceaf51e5

View file

@ -126,6 +126,13 @@ Configure the look and feel of Emacs
:ensure t
:after (all-the-icons marginalia-mode)
:hook (marginalia-mode . all-the-icons-completion-marginalia-setup))
(use-package nerd-icons
:ensure t)
(use-package nerd-icons-corfu
:ensure t
:after nerd-icons)
#+end_src
*** Modeline
#+begin_src emacs-lisp
@ -1137,6 +1144,8 @@ Configure email with iCalendar event support, to integrate with
(corfu-preselect 'directory)
:config
(require 'corfu-history)
(when (require 'nerd-icons-corfu nil :noerror)
(add-to-list 'corfu-margin-formatters #'nerd-icons-corfu-formatter))
(when (require 'corfu-popupinfo nil :noerror)
(corfu-popupinfo-mode +1))
(when (and (require 'corfu-terminal nil :noerror)