Explicitly load all-the-icons; disable it in terminal; simple neotree in terminal
This commit is contained in:
parent
ceeb8ad3fb
commit
95bbe87339
2 changed files with 14 additions and 15 deletions
|
@ -2,8 +2,6 @@
|
|||
|
||||
;; This file tries to be an almost self-contained configuration of my mode-line.
|
||||
|
||||
(require 'powerline)
|
||||
|
||||
;;; These are the invisible dependencies
|
||||
;; Required
|
||||
;;(require 'f)
|
||||
|
@ -19,6 +17,17 @@
|
|||
;;(require 'iedit)
|
||||
;;(require 'evil-multiedit)
|
||||
|
||||
(require 'powerline)
|
||||
(require 'all-the-icons)
|
||||
|
||||
;; all-the-icons doesn't work in the terminal, so we "disable" it.
|
||||
(unless window-system
|
||||
(defun all-the-icons-octicon (&rest _) "" "")
|
||||
(defun all-the-icons-faicon (&rest _) "" "")
|
||||
(defun all-the-icons-fileicon (&rest _) "" "")
|
||||
(defun all-the-icons-wicon (&rest _) "" "")
|
||||
(defun all-the-icons-alltheicon (&rest _) "" ""))
|
||||
|
||||
|
||||
;;
|
||||
;; Variables
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue