Enable show-paren-mode with hooks
This commit is contained in:
parent
1c16644b57
commit
6c294e1af2
7
init.el
7
init.el
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user