Enable smartparens-mode during pp-eval-expression
This commit is contained in:
parent
4d64021980
commit
da8bce53bc
1 changed files with 3 additions and 3 deletions
|
@ -454,9 +454,9 @@ files, so we replace calls to `pp' with the much faster `prin1'."
|
|||
|
||||
(add-hook! 'minibuffer-setup-hook
|
||||
(defun doom-init-smartparens-in-minibuffer-maybe-h ()
|
||||
"Enable `smartparens-mode' in the minibuffer, during `eval-expression' or
|
||||
`evil-ex'."
|
||||
(when (memq this-command '(eval-expression evil-ex))
|
||||
"Enable `smartparens-mode' in the minibuffer, during `eval-expression',
|
||||
`pp-eval-expression' or `evil-ex'."
|
||||
(when (memq this-command '(eval-expression pp-eval-expression evil-ex))
|
||||
(smartparens-mode))))
|
||||
|
||||
;; You're likely writing lisp in the minibuffer, therefore, disable these
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue