Skip to content

Commit bb5f461

Browse files
committed
docs: follow use-package recommendations
use-package documentation recommend to use ':custom' to set variables
1 parent e74de99 commit bb5f461

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,20 @@ common defaults laid out:
4343
```emacs-lisp
4444
(use-package doom-themes
4545
:ensure t
46-
:config
46+
:custom
4747
;; Global settings (defaults)
48-
(setq doom-themes-enable-bold t ; if nil, bold is universally disabled
49-
doom-themes-enable-italic t) ; if nil, italics is universally disabled
48+
(doom-themes-enable-bold t) ; if nil, bold is universally disabled
49+
(doom-themes-enable-italic t) ; if nil, italics is universally disabled
50+
;; for treemacs users
51+
(doom-themes-treemacs-theme "doom-atom") ; use "doom-colors" for less minimal icon theme
52+
:config
5053
(load-theme 'doom-one t)
5154
5255
;; Enable flashing mode-line on errors
5356
(doom-themes-visual-bell-config)
5457
;; Enable custom neotree theme (nerd-icons must be installed!)
5558
(doom-themes-neotree-config)
5659
;; or for treemacs users
57-
(setq doom-themes-treemacs-theme "doom-atom") ; use "doom-colors" for less minimal icon theme
5860
(doom-themes-treemacs-config)
5961
;; Corrects (and improves) org-mode's native fontification.
6062
(doom-themes-org-config))

0 commit comments

Comments
 (0)