branch: elpa/smartparens commit e5224c83f4ca522222f71e43cd8bea66934e23b7 Author: unset <unset> Commit: unset <unset>
Fuller definition of swift-mode string interpolation pair --- smartparens-swift.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smartparens-swift.el b/smartparens-swift.el index 83b012912a..e93286b212 100644 --- a/smartparens-swift.el +++ b/smartparens-swift.el @@ -107,7 +107,7 @@ :when '(sp-swift-filter-angle-brackets) :skip-match 'sp-swift-skip-match-angle-bracket) (sp-local-pair "\"\"\"" "\"\"\"") - (sp-local-pair "\\(" nil :actions nil)) + (sp-local-pair "\\(" ")" :actions '(wrap insert) :when '(sp-in-string-p))) ;; Swift has no sexp suffices. This fixes slurping ;; (|foo).bar -> (foo.bar)