From 2bb52f6016ec28147b4fc95a14638ae32e085d49 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 21 Aug 2021 14:58:11 +0200 Subject: [PATCH] Enable highlight-parentheses-mode globally, change colors again. --- init.d/basics/appearance.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/init.d/basics/appearance.el b/init.d/basics/appearance.el index f65ad51..ff3285c 100644 --- a/init.d/basics/appearance.el +++ b/init.d/basics/appearance.el @@ -136,12 +136,13 @@ (use-package highlight-parentheses :diminish (highlight-parentheses-mode) + :demand t :custom ((highlight-parentheses-colors nil) (highlight-parentheses-background-colors nil) (highlight-parentheses-attributes - '((:inverse-video t) (:weight ultrabold)))) - :hook ((prog-mode . highlight-parentheses-mode) - (text-mode . highlight-parentheses-mode))) + `((:weight bold :background ,(face-foreground 'whitespace-space)) + (:weight ultrabold)))) + :config (global-highlight-parentheses-mode)) (provide 'basics/appearance) ;;; appearance.el ends here