aboutsummaryrefslogtreecommitdiffstats
path: root/modules/init-icons.el
blob: 67f8fe9a41a1d7959a2361d34a6b3037c56d75e9 (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
  ;;---------------------------------
  (when (display-graphic-p)
    (unless (member "all-the-icons" (font-family-list))
      (add-hook '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