Defer added hooks until doom-themes is loaded
Fixes an issue where doom-themes-{org,neotree,treemacs}-config are called before doom-themes is loaded (which may never happen if you aren't using a doom-themes theme).
This commit is contained in:
parent
82ef3e987b
commit
949d5ab343
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
|||
:init
|
||||
(unless doom-theme
|
||||
(setq doom-theme 'doom-one))
|
||||
:config
|
||||
;; improve integration w/ org-mode
|
||||
(add-hook 'doom-load-theme-hook #'doom-themes-org-config)
|
||||
;; more Atom-esque file icons for neotree/treemacs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue