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 ;; Fonts - connecting with neotree
;;--------------------------------- ;;---------------------------------
(if (member "all-the-icons" (font-family-list)) (when (display-graphic-p)
(message "The all-the-icons are installed (.❛ ᴗ ❛.)") (unless (member "all-the-icons" (font-family-list))
(setq neotree-mode-hook 'all-the-icons-install-fonts))) (setq neotree-mode-hook 'all-the-icons-install-fonts))))
;; fix performace ;; fix performace
(setq inhibit-compacting-font-caches t) (setq inhibit-compacting-font-caches t)