Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ycpeng8 opened this issue Feb 5, 2024 · 1 comment
Open

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

ycpeng8 opened this issue Feb 5, 2024 · 1 comment

Comments

@ycpeng8
Copy link

ycpeng8 commented Feb 5, 2024

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/")
@pmbittner
Copy link

I am having the same issue on NixOS. I have the following fonts installed:

  fonts.packages = with pkgs; [
    nerdfonts
    emacs-all-the-icons-fonts
  ];

As well as the (package! all-the-icons) in my Doom Emacs configuration. Running M-x all-the-icons-install-fonts did not help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants