mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Move doom|disable-show-paren-mode to autoload/ui
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user