From b96885a7f321044377d583d62ba05d7d52429b38 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Fri, 7 Oct 2022 22:46:32 -0700 Subject: [PATCH] Fix UI loading. all-the-icons needed to be required before neotree. --- elisp/ui.el | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/elisp/ui.el b/elisp/ui.el index f609551..9060456 100644 --- a/elisp/ui.el +++ b/elisp/ui.el @@ -39,20 +39,21 @@ ;; Enable semantic for language-aware editing commands (setq semantic-mode 't) +;; Install all-the-icons and it's fonts if they are not already installed. +(use-package all-the-icons + :ensure t + :config (unless (member "all-the-icons" (font-family-list)) + (all-the-icons-install-fonts t))) + ;; Nice tree (use-package neotree :ensure t + :demand t :commands neotree-toggle :init (setq neo-theme (if (display-graphic-p) 'icons 'arrow)) :bind ("C-`" . neotree-toggle) :requires all-the-icons) -;; Install all-the-icons and it's fonts if they are not already installed. -(use-package all-the-icons - :ensure t - :config (unless (member "all-the-icons" (font-family-list)) - (all-the-icons-install-fonts t))) - ;; Theme (use-package zerodark-theme :ensure t