mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-29 14:33:34 -05:00
Fix smartparens pairing ' and ` in the minibuffer
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user