From abb4ce7925aa58fe6a6c8d85aab6f533a4dafc5f Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Sat, 14 Sep 2024 15:53:14 -0700 Subject: [PATCH] Change when rainbow-delimiters darkens parenthesis --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index 8578763..6bc35f4 100644 --- a/init.el +++ b/init.el @@ -1661,7 +1661,7 @@ one of the normal rainbow-delimiters-depth-N-face faces." (save-match-data (let* ((base-face (rainbow-delimiters-default-pick-face depth match loc)) (base-name (symbol-name base-face))) - (if (and (or evil-cleverparens-mode adjust-parens-mode) + (if (and evil-cleverparens-mode (eq ?\) (char-syntax (elt (buffer-substring-no-properties loc (1+ loc)) 0))) (string-match (rx string-start "rainbow-delimiters-depth-"