Change when rainbow-delimiters darkens parenthesis

This commit is contained in:
Alexander Rosenberg 2024-09-14 15:53:14 -07:00
parent a33e41de3d
commit abb4ce7925
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -1661,7 +1661,7 @@ one of the normal rainbow-delimiters-depth-N-face faces."
(save-match-data (save-match-data
(let* ((base-face (rainbow-delimiters-default-pick-face depth match loc)) (let* ((base-face (rainbow-delimiters-default-pick-face depth match loc))
(base-name (symbol-name base-face))) (base-name (symbol-name base-face)))
(if (and (or evil-cleverparens-mode adjust-parens-mode) (if (and evil-cleverparens-mode
(eq ?\) (char-syntax (eq ?\) (char-syntax
(elt (buffer-substring-no-properties loc (1+ loc)) 0))) (elt (buffer-substring-no-properties loc (1+ loc)) 0)))
(string-match (rx string-start "rainbow-delimiters-depth-" (string-match (rx string-start "rainbow-delimiters-depth-"