Skip to content

Commit

Permalink
fix(treemacs): replace all-the-icons with nerd-icons
Browse files Browse the repository at this point in the history
  • Loading branch information
hlissner committed Sep 15, 2023
1 parent e44508f commit 57965f1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 1 addition & 3 deletions modules/ui/doom/config.el
Expand Up @@ -14,9 +14,7 @@
(add-hook 'doom-load-theme-hook #'doom-themes-neotree-config)
(setq doom-themes-neotree-enable-variable-pitch t
doom-themes-neotree-file-icons 'simple
doom-themes-neotree-line-spacing 2))
(when (modulep! :ui treemacs)
(add-hook 'doom-load-theme-hook #'doom-themes-treemacs-config)))
doom-themes-neotree-line-spacing 2)))


(use-package! solaire-mode
Expand Down
5 changes: 5 additions & 0 deletions modules/ui/treemacs/config.el
Expand Up @@ -42,6 +42,11 @@ This must be set before `treemacs' has loaded.")
0))))


(use-package! treemacs-nerd-icons
:after treemacs
:config (treemacs-load-theme "nerd-icons"))


(use-package! treemacs-evil
:when (modulep! :editor evil +everywhere)
:defer t
Expand Down
1 change: 1 addition & 0 deletions modules/ui/treemacs/packages.el
Expand Up @@ -2,6 +2,7 @@
;;; ui/treemacs/packages.el

(package! treemacs :pin "fe471314f198f9aff268637a766a6ade0a5b5d96")
(package! treemacs-nerd-icons :pin "9876cb478145a0ec4e36f64ff6583f3de7126216")
;; These packages have no :pin because they're in the same repo
(when (modulep! :editor evil +everywhere)
(package! treemacs-evil))
Expand Down

0 comments on commit 57965f1

Please sign in to comment.