aboutsummaryrefslogtreecommitdiffstats
path: root/modules/init-icons.el
blob: e9e716393b69b5718cfce0fd68397d07fe706663 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
;;; init-icons.el --- .Emacs Configuration -*- lexical-binding: t -*-
;;; Commentary:
;;

;;; Code:

;;----------------------------------
;; All-the-icons
;;----------------------------------
(use-package all-the-icons
  :ensure t
  :config
  ;;----------------------------------
  ;; 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)))

;; fix performace
(setq inhibit-compacting-font-caches t)

(provide 'init-icons)

;; Local Variables:
;; byte-compile-warnings: (not free-vars)
;; End:
;;; init-icons.el ends here