- Add CI test job with Emacs batch load and byte-compile - Fix settings-file variable check in init.el - Fix extra parenthesis in init-neotree.el - Add missing projectile dependencies in neotree and web-mode - Fix add-hook usage in init-icons.el - Add hydra dependency in init-ivy.el - Standardize header style in init-company.el
29 lines
689 B
EmacsLisp
29 lines
689 B
EmacsLisp
;;; 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
|