fix usage all-the-icons

This commit is contained in:
2026-02-21 16:04:36 -05:00
parent 938219c348
commit 81b1d3da5b

View File

@@ -13,9 +13,9 @@
;;----------------------------------
;; Fonts - connecting with neotree
;;---------------------------------
(if (member "all-the-icons" (font-family-list))
(message "The all-the-icons are installed (.❛ ᴗ ❛.)")
(setq neotree-mode-hook 'all-the-icons-install-fonts)))
(when (display-graphic-p)
(unless (member "all-the-icons" (font-family-list))
(setq neotree-mode-hook 'all-the-icons-install-fonts))))
;; fix performace
(setq inhibit-compacting-font-caches t)