From 42bfea4f3543b73f3d7a81529f2fe2f137833fce Mon Sep 17 00:00:00 2001 From: David Morgan Date: Fri, 8 Jul 2022 07:47:33 +0100 Subject: Fix rainbow-delimiters config --- .emacs.d/lisp/init-ui.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.emacs.d') diff --git a/.emacs.d/lisp/init-ui.el b/.emacs.d/lisp/init-ui.el index 63eb1dd..4b64e7e 100644 --- a/.emacs.d/lisp/init-ui.el +++ b/.emacs.d/lisp/init-ui.el @@ -102,8 +102,9 @@ :config (which-key-mode +1)) (use-package rainbow-delimiters - :config - (rainbow-delimiters-mode +1)) + :hook + (text-mode . (lambda () (rainbow-delimiters-mode +1))) + (prog-mode . (lambda () (rainbow-delimiters-mode +1)))) (use-package rainbow-mode :diminish) -- cgit 1.4.1-2-gfad0