From ea3f99f265923ba112dfa15530ee2ee66cf67359 Mon Sep 17 00:00:00 2001 From: qorg11 Date: Mon, 6 Jul 2020 21:06:36 +0200 Subject: [PATCH] Fixed rainbow delimiters and added it to lisp modes (emacs lisp, scheme and common lisp) --- config.org | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/config.org b/config.org index 377f41c..1b270f0 100644 --- a/config.org +++ b/config.org @@ -416,13 +416,15 @@ Including indent-buffer, which should not be called automatically on save." #+END_SRC ** Programming language things *** Lisp - Rainbow parentheses, If someone can tell me why it does not - work. please tell me. + Parentheses highlight in lisp modes. So you can easily identify + them. #+BEGIN_SRC emacs-lisp - (use-package rainbow-delimiters - :ensure t - :init - (add-hook 'emacs-lisp-mode 'rainbow-delimiters-mode)) + (use-package rainbow-delimiters + :ensure t + :init + (add-hook 'emacs-lisp-mode-hook 'rainbow-delimiters-mode) + (add-hook 'lisp-mode-hook 'rainbow-delimiters-mode) + (add-hook 'scheme-mode-hook 'rainbow-delimiters-mode)) #+END_SRC *** Perl