Skip to content

Commit d35f55c

Browse files
committed
tweak(treemacs): smaller font size for root nodes
1 parent 99ea57d commit d35f55c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modules/me-files.el

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@
4949
:custom
5050
(treemacs-persist-file (concat minemacs-local-dir "treemacs/persist.el"))
5151
(treemacs-last-error-persist-file (concat minemacs-local-dir "treemacs/last-error-persist.el"))
52-
(treemacs-width 30))
52+
(treemacs-width 30)
53+
:config
54+
;; Use the same height for the root node (project directory)
55+
(set-face-attribute 'treemacs-root-face nil :height 1.0))
5356

5457
(use-package treemacs-nerd-icons
5558
:straight t

0 commit comments

Comments
 (0)