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:
parent
eb79760c66
commit
64867cbed4
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue