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