1

Enable show-paren-mode with hooks

This commit is contained in:
Jessie Hildebrandt 2023-12-08 08:08:30 -05:00
parent 1c16644b57
commit 6c294e1af2

View File

@ -648,11 +648,12 @@ have been closed."
(editor-feature paren
"Highlights matching delimiter pairs under the cursor."
:config
(show-paren-mode)
:custom
(show-paren-delay 0.0 "Highlight matching delimiters instantly")
(show-paren-context-when-offscreen t "Show context of matching off-screen delimiters"))
(show-paren-context-when-offscreen t "Show context of matching off-screen delimiters")
:hook
(text-mode-hook . show-paren-mode)
(prog-mode-hook . show-paren-mode))
;; ---------------------------------- ;;
;; pixel-scroll