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") ("| " " "))