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