mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Merge pull request #4944 from Janfel/fix-smartparens-in-minibuffer
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