Fix smartparens pairing ' and ` in the minibuffer

This commit is contained in:
Jan Felix Langenbach 2021-04-28 21:50:19 +02:00
parent f621ff8047
commit 3c00ddcebd

View file

@ -550,8 +550,8 @@ on."
;; You're likely writing lisp in the minibuffer, therefore, disable these ;; You're likely writing lisp in the minibuffer, therefore, disable these
;; quote pairs, which lisps doesn't use for strings: ;; quote pairs, which lisps doesn't use for strings:
(sp-local-pair 'minibuffer-inactive-mode "'" nil :actions nil) (sp-local-pair '(minibuffer-mode minibuffer-inactive-mode) "'" nil :actions nil)
(sp-local-pair 'minibuffer-inactive-mode "`" nil :actions nil) (sp-local-pair '(minibuffer-mode minibuffer-inactive-mode) "`" nil :actions nil)
;; Smartparens breaks evil-mode's replace state ;; Smartparens breaks evil-mode's replace state
(defvar doom-buffer-smartparens-mode nil) (defvar doom-buffer-smartparens-mode nil)