Add doom|disable-show-paren-mode hook

For disabling show-paren-mode buffer-locally.
This commit is contained in:
Henrik Lissner 2018-07-06 01:06:13 +02:00
parent 80a3c9bf62
commit 15f66f4b52
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 7 additions and 7 deletions

View file

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