mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Don't lazy load doom|disable-show-paren-mode
In case it is used early (e.g. by org-mode).
This commit is contained in:
@ -315,10 +315,11 @@ DEFAULT is non-nil, set the default mode-line for all buffers."
|
|||||||
;; highlight matching delimiters
|
;; highlight matching delimiters
|
||||||
(def-package! paren
|
(def-package! paren
|
||||||
:after-call (after-find-file doom-exit-buffer-hook)
|
:after-call (after-find-file doom-exit-buffer-hook)
|
||||||
:config
|
:init
|
||||||
(defun doom|disable-show-paren-mode ()
|
(defun doom|disable-show-paren-mode ()
|
||||||
"Turn off `show-paren-mode' buffer-locally."
|
"Turn off `show-paren-mode' buffer-locally."
|
||||||
(set (make-local-variable 'show-paren-mode) nil))
|
(set (make-local-variable 'show-paren-mode) nil))
|
||||||
|
:config
|
||||||
(setq show-paren-delay 0.1
|
(setq show-paren-delay 0.1
|
||||||
show-paren-highlight-openparen t
|
show-paren-highlight-openparen t
|
||||||
show-paren-when-point-inside-paren t)
|
show-paren-when-point-inside-paren t)
|
||||||
|
Reference in New Issue
Block a user