From 008cee1afc68cbd8f391ce6f4ba399073d28bbb3 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 19 Apr 2016 03:09:57 -0400 Subject: [PATCH] smartparens: smarter double quotes --- core/core-editor.el | 1 + 1 file changed, 1 insertion(+) diff --git a/core/core-editor.el b/core/core-editor.el index 82d8f5c7d..b0e16c8dc 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -279,6 +279,7 @@ enable multiple minor modes for the same regexp.") ;; Auto-close more conservatively (sp-pair "'" nil :unless '(sp-point-after-word-p)) + (sp-pair "\"" nil :unless '(sp-point-before-word-p sp-point-before-same-p)) (sp-pair "{" nil :post-handlers '(("||\n[i]" "RET") ("| " " ")) :unless '(sp-point-before-word-p sp-point-before-same-p)) (sp-pair "(" nil :post-handlers '(("||\n[i]" "RET") ("| " " "))