Move doom|disable-show-paren-mode to autoload/ui
This commit is contained in:
parent
2387f56ba1
commit
2aa9252725
2 changed files with 5 additions and 4 deletions
|
@ -47,6 +47,11 @@ are open."
|
||||||
(with-silent-modifications
|
(with-silent-modifications
|
||||||
(ansi-color-apply-on-region compilation-filter-start (point))))
|
(ansi-color-apply-on-region compilation-filter-start (point))))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
|
(defun doom|disable-show-paren-mode ()
|
||||||
|
"Turn off `show-paren-mode' buffer-locally."
|
||||||
|
(setq-local show-paren-mode nil))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; Commands
|
;; Commands
|
||||||
|
|
|
@ -298,10 +298,6 @@ read-only or not file-visiting."
|
||||||
(def-package! paren
|
(def-package! paren
|
||||||
;; highlight matching delimiters
|
;; highlight matching delimiters
|
||||||
:after-call (after-find-file doom-switch-buffer-hook)
|
:after-call (after-find-file doom-switch-buffer-hook)
|
||||||
:init
|
|
||||||
(defun doom|disable-show-paren-mode ()
|
|
||||||
"Turn off `show-paren-mode' buffer-locally."
|
|
||||||
(set (make-local-variable 'show-paren-mode) nil))
|
|
||||||
:config
|
:config
|
||||||
(setq show-paren-delay 0.1
|
(setq show-paren-delay 0.1
|
||||||
show-paren-highlight-openparen t
|
show-paren-highlight-openparen t
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue