Move all-the-icons to core-ui
This commit is contained in:
parent
c7254e7bdc
commit
58b77716c9
5 changed files with 17 additions and 26 deletions
|
@ -45,15 +45,6 @@
|
|||
(goto-char (previous-button (point))))))
|
||||
|
||||
|
||||
(if (display-graphic-p)
|
||||
(require 'all-the-icons)
|
||||
(defalias 'all-the-icons-octicon #'ignore)
|
||||
(defalias 'all-the-icons-faicon #'ignore)
|
||||
(defalias 'all-the-icons-fileicon #'ignore)
|
||||
(defalias 'all-the-icons-wicon #'ignore)
|
||||
(defalias 'all-the-icons-alltheicon #'ignore))
|
||||
|
||||
|
||||
;;
|
||||
(setq doom-fallback-buffer +doom-dashboard-name)
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; ui/doom-dashboard/packages.el
|
||||
|
||||
(package! all-the-icons)
|
|
@ -4,17 +4,6 @@
|
|||
|
||||
(line-number-mode -1)
|
||||
|
||||
;; all-the-icons doesn't work in the terminal, so we "disable" it.
|
||||
(unless (display-graphic-p)
|
||||
(defalias 'all-the-icons-octicon #'ignore)
|
||||
(defalias 'all-the-icons-faicon #'ignore)
|
||||
(defalias 'all-the-icons-fileicon #'ignore)
|
||||
(defalias 'all-the-icons-wicon #'ignore)
|
||||
(defalias 'all-the-icons-alltheicon #'ignore))
|
||||
|
||||
(def-package! all-the-icons :demand t
|
||||
:when (display-graphic-p))
|
||||
|
||||
(def-package! eldoc-eval :demand t
|
||||
:config
|
||||
;; Show eldoc in the mode-line with `eval-expression'
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
;;(require 'iedit)
|
||||
;;(require 'evil-multiedit)
|
||||
|
||||
(package! all-the-icons)
|
||||
(package! eldoc-eval)
|
||||
(when (featurep! :feature evil)
|
||||
(package! evil-anzu))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue