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:
Henrik Lissner 2018-07-06 12:48:41 +02:00
parent eb79760c66
commit 64867cbed4
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -315,10 +315,11 @@ DEFAULT is non-nil, set the default mode-line for all buffers."
;; highlight matching delimiters
(def-package! paren
:after-call (after-find-file doom-exit-buffer-hook)
:config
:init
(defun doom|disable-show-paren-mode ()
"Turn off `show-paren-mode' buffer-locally."
(set (make-local-variable 'show-paren-mode) nil))
:config
(setq show-paren-delay 0.1
show-paren-highlight-openparen t
show-paren-when-point-inside-paren t)