Set various nerd-icons packages to load after nerd-icons main package

This commit is contained in:
Evie Litherland-Smith 2023-12-14 09:25:25 +00:00
parent 4fc03764c6
commit 351830bbde

View file

@ -191,19 +191,22 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia
(use-package nerd-icons-dired (use-package nerd-icons-dired
:ensure t :ensure t
:after nerd-icons
:hook (dired-mode)) :hook (dired-mode))
(use-package nerd-icons-ibuffer (use-package nerd-icons-ibuffer
:ensure t :ensure t
:after nerd-icons
:hook (ibuffer-mode)) :hook (ibuffer-mode))
(use-package nerd-icons-completion (use-package nerd-icons-completion
:ensure t :ensure t
:after nerd-icons
:config (nerd-icons-completion-mode +1)) :config (nerd-icons-completion-mode +1))
(use-package nerd-icons-corfu (use-package nerd-icons-corfu
:ensure t :ensure t
:after corfu :after (corfu nerd-icons)
:config (add-to-list 'corfu-margin-formatters #'nerd-icons-corfu-formatter)) :config (add-to-list 'corfu-margin-formatters #'nerd-icons-corfu-formatter))
(keymap-global-set "C-c i n" #'nerd-icons-insert) (keymap-global-set "C-c i n" #'nerd-icons-insert)