aboutsummaryrefslogtreecommitdiff
path: root/dot.emacs.d/init.el
diff options
context:
space:
mode:
authorThomas Schneider <qsx@chaotikum.eu>2026-07-27 19:52:57 +0200
committerThomas Schneider <qsx@chaotikum.eu>2026-07-27 20:03:00 +0200
commitde79768ef8211a2120b3cce9fc57bb97cdb2c8c0 (patch)
treee350f208de252deefa715345ba4f210125c0c8eb /dot.emacs.d/init.el
parent182f584930e99277b959a6fec77b3510150da469 (diff)
Emacs: rainbow-delimiters: Use use-package shortcut for hook
Diffstat (limited to 'dot.emacs.d/init.el')
-rw-r--r--dot.emacs.d/init.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el
index 2518cb5..72f9df4 100644
--- a/dot.emacs.d/init.el
+++ b/dot.emacs.d/init.el
@@ -286,8 +286,7 @@
(add-hook h #'qsx-stripe-listify-buffer-hook)))
(use-package rainbow-delimiters
- :config
- (add-hook 'prog-mode-hook #'rainbow-delimiters-mode-enable))
+ :hook (prog-mode . rainbow-delimiters-mode-enable))
(show-paren-mode 1)