Browse Source

Fix UI loading. all-the-icons needed to be required before neotree.

master
Taylor Bockman 2 years ago
parent
commit
b96885a7f3
  1. 13
      elisp/ui.el

13
elisp/ui.el

@ -39,20 +39,21 @@
;; Enable semantic for language-aware editing commands ;; Enable semantic for language-aware editing commands
(setq semantic-mode 't) (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 ;; Nice tree
(use-package neotree (use-package neotree
:ensure t :ensure t
:demand t
:commands neotree-toggle :commands neotree-toggle
:init (setq neo-theme (if (display-graphic-p) 'icons 'arrow)) :init (setq neo-theme (if (display-graphic-p) 'icons 'arrow))
:bind ("C-`" . neotree-toggle) :bind ("C-`" . neotree-toggle)
:requires all-the-icons) :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 ;; Theme
(use-package zerodark-theme (use-package zerodark-theme
:ensure t :ensure t

Loading…
Cancel
Save