domtronn / all-the-icons.el

A utility package to collect various Icon Fonts and propertize them within Emacs.
MIT License
1.48k stars 177 forks source link

all-the-icons not displayed properly in neotree #384

Open ycpeng8 opened 9 months ago

ycpeng8 commented 9 months ago

I already installed all-the-icons as the tutorial told me, but the icons in neotree are still ugly as below image

And I don't know if the icons of the homepage should have such behavior: image

I have run M-x all-the-icons-install-fonts but it didn't fix my problem.

Here is my config.el:

(setq doom-font (font-spec :family "Iosevka" :size 16 :weight 'bold)
      doom-variable-pitch-font (font-spec :family "Iosevka" :size 14))

(setq doom-theme 'doom-nord)
(use-package all-the-icons
  :if (display-graphic-p))
(with-eval-after-load 'doom-themes
  (doom-themes-neotree-config))

;; Battery Display
(unless (equal "Battery status not available"
               (battery))
  (display-battery-mode 1)) ;; Battery Display
  (unless (equal "Battery status not available"
                 (battery))
    (display-battery-mode 1)) 

;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'.
(setq display-line-numbers-type t)

;; If you use `org' and don't want your org files in the default location below,
;; change `org-directory'. It must be set before org loads!
(setq org-directory "~/org/")