diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-07-08 07:47:33 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-07-08 07:47:33 +0100 |
commit | 42bfea4f3543b73f3d7a81529f2fe2f137833fce (patch) | |
tree | ed66cac31bb4597a6afc49598bc8c4309473646e /.emacs.d | |
parent | ccc974ca9bc76c13618c9b6a76f5c5e9b88c1aab (diff) | |
download | dotfiles-42bfea4f3543b73f3d7a81529f2fe2f137833fce.tar.gz |
Fix rainbow-delimiters config
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/lisp/init-ui.el | 5 |
1 files changed, 3 insertions, 2 deletions
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) |