Disable show-paren-mode, enable highlight-parentheses-mode for text.

This commit is contained in:
tastytea 2021-08-20 22:01:05 +02:00
parent ca59c7fbff
commit 51f3252a72
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 3 additions and 2 deletions

View File

@ -33,7 +33,7 @@
(set-scroll-bar-mode 'right))
(add-to-list 'default-frame-alist '(scroll-bar-width . 8))
(my/set-default-fonts)
(show-paren-mode t) ; Visualize matching parens.
;; (show-paren-mode t) ; Visualize matching parens.
(setq frame-title-format ; Show filename in frame title.
'(multiple-frames
"%b" ("" invocation-name "@" system-name
@ -140,7 +140,8 @@
(highlight-parentheses-background-colors nil)
(highlight-parentheses-attributes
'((:inverse-video t) (:weight ultrabold))))
:hook (prog-mode . highlight-parentheses-mode))
:hook ((prog-mode . highlight-parentheses-mode)
(text-mode . highlight-parentheses-mode)))
(provide 'basics/appearance)
;;; appearance.el ends here