From d2397926abb2e709a3e9e05d4823c4ec647df272 Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Wed, 21 May 2025 14:58:37 +0200 Subject: [PATCH] update smartparens --- bba.org | 2 +- .../smartparens-autoloads.el | 0 .../smartparens-c.el | 0 .../smartparens-clojure.el | 0 .../smartparens-config.el | 10 +++--- .../smartparens-coq.el | 0 .../smartparens-crystal.el | 0 .../smartparens-elixir.el | 0 .../smartparens-erlang.el | 7 ++-- .../smartparens-ess.el | 0 .../smartparens-go.el | 4 ++- .../smartparens-haskell.el | 0 .../smartparens-html.el | 0 .../smartparens-javascript.el | 0 .../smartparens-latex.el | 0 .../smartparens-lua.el | 0 .../smartparens-markdown.el | 0 .../smartparens-ml.el | 0 .../smartparens-org.el | 0 .../smartparens-pkg.el | 6 ++-- .../smartparens-python.el | 0 .../smartparens-racket.el | 0 .../smartparens-rst.el | 0 .../smartparens-ruby.el | 0 .../smartparens-rust.el | 0 .../smartparens-scala.el | 0 .../smartparens-swift.el | 12 ++++--- .../smartparens-text.el | 2 +- .../smartparens-unison.el | 0 .../smartparens.el | 36 +++++++++++-------- .../sp-sublimetext-like.el | 0 31 files changed, 46 insertions(+), 33 deletions(-) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-autoloads.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-c.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-clojure.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-config.el (95%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-coq.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-crystal.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-elixir.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-erlang.el (91%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-ess.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-go.el (92%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-haskell.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-html.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-javascript.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-latex.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-lua.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-markdown.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-ml.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-org.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-pkg.el (75%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-python.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-racket.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-rst.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-ruby.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-rust.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-scala.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-swift.el (90%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-text.el (95%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens-unison.el (100%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/smartparens.el (99%) rename elpa/{smartparens-20241220.1254 => smartparens-20250511.2354}/sp-sublimetext-like.el (100%) diff --git a/bba.org b/bba.org index 54a6ae06..b2e1349c 100644 --- a/bba.org +++ b/bba.org @@ -388,7 +388,7 @@ Some key bindings taken from [[https://ebzzry.github.io/emacs-pairs.html][emacs- #+BEGIN_SRC emacs-lisp (if (>= emacs-major-version 24) (progn - (add-to-list 'load-path "~/.emacs.d/elpa/smartparens-20230529.1017") + (add-to-list 'load-path "~/.emacs.d/elpa/smartparens-20250511.2354") (add-to-list 'load-path "~/.emacs.d/elpa/dash-20250312.1307") (require 'smartparens) (smartparens-global-mode 1) diff --git a/elpa/smartparens-20241220.1254/smartparens-autoloads.el b/elpa/smartparens-20250511.2354/smartparens-autoloads.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-autoloads.el rename to elpa/smartparens-20250511.2354/smartparens-autoloads.el diff --git a/elpa/smartparens-20241220.1254/smartparens-c.el b/elpa/smartparens-20250511.2354/smartparens-c.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-c.el rename to elpa/smartparens-20250511.2354/smartparens-c.el diff --git a/elpa/smartparens-20241220.1254/smartparens-clojure.el b/elpa/smartparens-20250511.2354/smartparens-clojure.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-clojure.el rename to elpa/smartparens-20250511.2354/smartparens-clojure.el diff --git a/elpa/smartparens-20241220.1254/smartparens-config.el b/elpa/smartparens-20250511.2354/smartparens-config.el similarity index 95% rename from elpa/smartparens-20241220.1254/smartparens-config.el rename to elpa/smartparens-20250511.2354/smartparens-config.el index 981641f5..03f02525 100644 --- a/elpa/smartparens-20241220.1254/smartparens-config.el +++ b/elpa/smartparens-20250511.2354/smartparens-config.el @@ -134,10 +134,11 @@ ID, ACTION, CONTEXT." (eval-after-load it '(require 'smartparens-clojure))) (eval-after-load 'coq-mode '(require 'smartparens-coq)) (eval-after-load 'crystal-mode '(require 'smartparens-crystal)) -(eval-after-load 'elixir-mode '(require 'smartparens-elixir)) -(eval-after-load 'elixir-ts-mode '(require 'smartparens-elixir)) +(--each '(elixir-mode elixir-ts-mode) + (eval-after-load it '(require 'smartparens-elixir))) (eval-after-load 'enh-ruby-mode '(require 'smartparens-ruby)) -(eval-after-load 'erlang-mode '(require 'smartparens-erlang)) +(--each '(erlang-mode erlang-ts-mode) + (eval-after-load it '(require 'smartparens-erlang))) (eval-after-load 'ess '(require 'smartparens-ess)) (eval-after-load 'go-mode '(require 'smartparens-go)) (eval-after-load 'haskell-interactive-mode '(require 'smartparens-haskell)) @@ -158,7 +159,8 @@ ID, ACTION, CONTEXT." (eval-after-load 'rust-ts-mode '(require 'smartparens-rust)) (eval-after-load 'rustic '(require 'smartparens-rust)) (eval-after-load 'scala-mode '(require 'smartparens-scala)) -(eval-after-load 'swift-mode '(require 'smartparens-swift)) +(--each '(swift-mode swift-ts-mode) + (eval-after-load it '(require 'smartparens-swift))) (eval-after-load 'tex-mode '(require 'smartparens-latex)) (eval-after-load 'text-mode '(require 'smartparens-text)) (eval-after-load 'tuareg '(require 'smartparens-ml)) diff --git a/elpa/smartparens-20241220.1254/smartparens-coq.el b/elpa/smartparens-20250511.2354/smartparens-coq.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-coq.el rename to elpa/smartparens-20250511.2354/smartparens-coq.el diff --git a/elpa/smartparens-20241220.1254/smartparens-crystal.el b/elpa/smartparens-20250511.2354/smartparens-crystal.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-crystal.el rename to elpa/smartparens-20250511.2354/smartparens-crystal.el diff --git a/elpa/smartparens-20241220.1254/smartparens-elixir.el b/elpa/smartparens-20250511.2354/smartparens-elixir.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-elixir.el rename to elpa/smartparens-20250511.2354/smartparens-elixir.el diff --git a/elpa/smartparens-20241220.1254/smartparens-erlang.el b/elpa/smartparens-20250511.2354/smartparens-erlang.el similarity index 91% rename from elpa/smartparens-20241220.1254/smartparens-erlang.el rename to elpa/smartparens-20250511.2354/smartparens-erlang.el index 767ecb4b..b92c3230 100644 --- a/elpa/smartparens-20241220.1254/smartparens-erlang.el +++ b/elpa/smartparens-20250511.2354/smartparens-erlang.el @@ -46,10 +46,11 @@ (declare-function erlang-mode "erlang-mode") -(sp-with-modes 'erlang-mode +(sp-with-modes '(erlang-mode erlang-ts-mode) (sp-local-pair "`" "'" - :when '(sp-in-comment-p))) + :when '(sp-in-comment-p)) + (sp-local-pair "<<" ">>") + (sp-local-pair "#{" "}")) (provide 'smartparens-erlang) - ;;; smartparens-erlang.el ends here diff --git a/elpa/smartparens-20241220.1254/smartparens-ess.el b/elpa/smartparens-20250511.2354/smartparens-ess.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-ess.el rename to elpa/smartparens-20250511.2354/smartparens-ess.el diff --git a/elpa/smartparens-20241220.1254/smartparens-go.el b/elpa/smartparens-20250511.2354/smartparens-go.el similarity index 92% rename from elpa/smartparens-20241220.1254/smartparens-go.el rename to elpa/smartparens-20250511.2354/smartparens-go.el index 7479a4cc..48bf7c02 100644 --- a/elpa/smartparens-20241220.1254/smartparens-go.el +++ b/elpa/smartparens-20250511.2354/smartparens-go.el @@ -45,8 +45,9 @@ (require 'smartparens) (declare-function go-mode "go-mode") +(declare-function go-ts-mode "go-ts-mode") -(sp-with-modes 'go-mode +(sp-with-modes '(go-mode go-ts-mode) (sp-local-pair "{" nil :post-handlers '(("||\n[i]" "RET"))) (sp-local-pair "/*" "*/" :post-handlers '(("| " "SPC") ("* ||\n[i]" "RET")))) @@ -54,6 +55,7 @@ ;; Go has no sexp suffices. This fixes slurping ;; (|foo).bar -> (foo.bar) (add-to-list 'sp-sexp-suffix (list #'go-mode 'regexp "")) +(add-to-list 'sp-sexp-suffix (list #'go-ts-mode 'regexp "")) (provide 'smartparens-go) diff --git a/elpa/smartparens-20241220.1254/smartparens-haskell.el b/elpa/smartparens-20250511.2354/smartparens-haskell.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-haskell.el rename to elpa/smartparens-20250511.2354/smartparens-haskell.el diff --git a/elpa/smartparens-20241220.1254/smartparens-html.el b/elpa/smartparens-20250511.2354/smartparens-html.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-html.el rename to elpa/smartparens-20250511.2354/smartparens-html.el diff --git a/elpa/smartparens-20241220.1254/smartparens-javascript.el b/elpa/smartparens-20250511.2354/smartparens-javascript.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-javascript.el rename to elpa/smartparens-20250511.2354/smartparens-javascript.el diff --git a/elpa/smartparens-20241220.1254/smartparens-latex.el b/elpa/smartparens-20250511.2354/smartparens-latex.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-latex.el rename to elpa/smartparens-20250511.2354/smartparens-latex.el diff --git a/elpa/smartparens-20241220.1254/smartparens-lua.el b/elpa/smartparens-20250511.2354/smartparens-lua.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-lua.el rename to elpa/smartparens-20250511.2354/smartparens-lua.el diff --git a/elpa/smartparens-20241220.1254/smartparens-markdown.el b/elpa/smartparens-20250511.2354/smartparens-markdown.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-markdown.el rename to elpa/smartparens-20250511.2354/smartparens-markdown.el diff --git a/elpa/smartparens-20241220.1254/smartparens-ml.el b/elpa/smartparens-20250511.2354/smartparens-ml.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-ml.el rename to elpa/smartparens-20250511.2354/smartparens-ml.el diff --git a/elpa/smartparens-20241220.1254/smartparens-org.el b/elpa/smartparens-20250511.2354/smartparens-org.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-org.el rename to elpa/smartparens-20250511.2354/smartparens-org.el diff --git a/elpa/smartparens-20241220.1254/smartparens-pkg.el b/elpa/smartparens-20250511.2354/smartparens-pkg.el similarity index 75% rename from elpa/smartparens-20241220.1254/smartparens-pkg.el rename to elpa/smartparens-20250511.2354/smartparens-pkg.el index a505d8d2..026927b6 100644 --- a/elpa/smartparens-20241220.1254/smartparens-pkg.el +++ b/elpa/smartparens-20250511.2354/smartparens-pkg.el @@ -1,10 +1,10 @@ ;; -*- no-byte-compile: t; lexical-binding: nil -*- -(define-package "smartparens" "20241220.1254" +(define-package "smartparens" "20250511.2354" "Automatic insertion, wrapping and paredit-like navigation with user defined pairs." '((dash "2.13.0")) :url "https://github.com/Fuco1/smartparens" - :commit "b0d935c11813bcd40f8d35bae8800e0741334c29" - :revdesc "b0d935c11813" + :commit "603325ab3d1186fb10da5c2a7ec1afb88018d792" + :revdesc "603325ab3d11" :keywords '("abbrev" "convenience" "editing") :authors '(("Matus Goljer" . "matus.goljer@gmail.com")) :maintainers '(("Matus Goljer" . "matus.goljer@gmail.com"))) diff --git a/elpa/smartparens-20241220.1254/smartparens-python.el b/elpa/smartparens-20250511.2354/smartparens-python.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-python.el rename to elpa/smartparens-20250511.2354/smartparens-python.el diff --git a/elpa/smartparens-20241220.1254/smartparens-racket.el b/elpa/smartparens-20250511.2354/smartparens-racket.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-racket.el rename to elpa/smartparens-20250511.2354/smartparens-racket.el diff --git a/elpa/smartparens-20241220.1254/smartparens-rst.el b/elpa/smartparens-20250511.2354/smartparens-rst.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-rst.el rename to elpa/smartparens-20250511.2354/smartparens-rst.el diff --git a/elpa/smartparens-20241220.1254/smartparens-ruby.el b/elpa/smartparens-20250511.2354/smartparens-ruby.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-ruby.el rename to elpa/smartparens-20250511.2354/smartparens-ruby.el diff --git a/elpa/smartparens-20241220.1254/smartparens-rust.el b/elpa/smartparens-20250511.2354/smartparens-rust.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-rust.el rename to elpa/smartparens-20250511.2354/smartparens-rust.el diff --git a/elpa/smartparens-20241220.1254/smartparens-scala.el b/elpa/smartparens-20250511.2354/smartparens-scala.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-scala.el rename to elpa/smartparens-20250511.2354/smartparens-scala.el diff --git a/elpa/smartparens-20241220.1254/smartparens-swift.el b/elpa/smartparens-20250511.2354/smartparens-swift.el similarity index 90% rename from elpa/smartparens-20241220.1254/smartparens-swift.el rename to elpa/smartparens-20250511.2354/smartparens-swift.el index a1efab10..fc0166b7 100644 --- a/elpa/smartparens-20241220.1254/smartparens-swift.el +++ b/elpa/smartparens-20250511.2354/smartparens-swift.el @@ -28,8 +28,8 @@ ;;; Commentary: -;; This file provides some additional configuration for Swift. To use -;; it, simply add: +;; This file provides some additional configuration for Swift. To use it in +;; conjunction with either `swift-mode' or `swift-ts-mode', simply add: ;; ;; (require 'smartparens-config) ;; @@ -46,6 +46,7 @@ (require 'smartparens) (declare-function swift-mode "swift-mode") +(declare-function swift-ts-mode "swift-ts-mode") (defun sp-swift-skip-match-angle-bracket (_ms _mb me) "Non-nil if we should ignore the bracket as valid delimiter." @@ -102,15 +103,16 @@ ((eq action 'navigate) (and (not on-comparison) (not on-fn-return-type) (not on-range-operator)))))))) -(sp-with-modes '(swift-mode) +(sp-with-modes '(swift-mode swift-ts-mode) (sp-local-pair "<" ">" :when '(sp-swift-filter-angle-brackets) :skip-match 'sp-swift-skip-match-angle-bracket) (sp-local-pair "\"\"\"" "\"\"\"")) -;; Swift has no sexp suffices. This fixes slurping +;; Swift has no sexp suffixes. This fixes slurping ;; (|foo).bar -> (foo.bar) -(add-to-list 'sp-sexp-suffix (list #'swift-mode 'regexp "")) +(dolist (mode '(swift-mode swift-ts-mode)) + (add-to-list 'sp-sexp-suffix (list mode 'regexp ""))) (provide 'smartparens-swift) diff --git a/elpa/smartparens-20241220.1254/smartparens-text.el b/elpa/smartparens-20250511.2354/smartparens-text.el similarity index 95% rename from elpa/smartparens-20241220.1254/smartparens-text.el rename to elpa/smartparens-20250511.2354/smartparens-text.el index a5f79cc2..6a6f3b03 100644 --- a/elpa/smartparens-20241220.1254/smartparens-text.el +++ b/elpa/smartparens-20250511.2354/smartparens-text.el @@ -1,4 +1,4 @@ -;;; smartparens-latex.el --- Additional configuration for text-mode. -*- lexical-binding: t; -*- +;;; smartparens-text.el --- Additional configuration for text-mode. -*- lexical-binding: t; -*- ;; Copyright (C) 2017-2018 Matus Goljer diff --git a/elpa/smartparens-20241220.1254/smartparens-unison.el b/elpa/smartparens-20250511.2354/smartparens-unison.el similarity index 100% rename from elpa/smartparens-20241220.1254/smartparens-unison.el rename to elpa/smartparens-20250511.2354/smartparens-unison.el diff --git a/elpa/smartparens-20241220.1254/smartparens.el b/elpa/smartparens-20250511.2354/smartparens.el similarity index 99% rename from elpa/smartparens-20241220.1254/smartparens.el rename to elpa/smartparens-20250511.2354/smartparens.el index 21191268..9212b08c 100644 --- a/elpa/smartparens-20241220.1254/smartparens.el +++ b/elpa/smartparens-20250511.2354/smartparens.el @@ -5,8 +5,8 @@ ;; Author: Matus Goljer ;; Maintainer: Matus Goljer ;; Created: 17 Nov 2012 -;; Package-Version: 20241220.1254 -;; Package-Revision: b0d935c11813 +;; Package-Version: 20250511.2354 +;; Package-Revision: 603325ab3d11 ;; Package-Requires: ((dash "2.13.0")) ;; Keywords: abbrev convenience editing ;; URL: https://github.com/Fuco1/smartparens @@ -1945,29 +1945,33 @@ See `sp-get-buffer-char-syntax'." (setq p (or p (point))) (sp-get-buffer-char-syntax (1- p))) -(defun sp-syntax-after-is-prefix (&optional p) +(defun sp-syntax-after-is-prefix (check-prefix-flag &optional p) "Check that the character after P has prefix syntax. Prefix syntax can either come from the global major-mode syntax table, from the text property syntax-table or from the syntax -flag (20)." +flag (20). The flag must be ignored once inside a symbol, this +is done by passing CHECK-PREFIX-FLAG as nil." (setq p (or p (point))) (let ((parse-sexp-lookup-properties t)) (when-let ((syntax (syntax-after p))) (or (= (syntax-class syntax) 6) - (/= 0 (logand (lsh 1 20) (car syntax))))))) + (and check-prefix-flag + (/= 0 (logand (lsh 1 20) (car syntax)))))))) -(defun sp-syntax-before-is-prefix (&optional p) +(defun sp-syntax-before-is-prefix (check-prefix-flag &optional p) "Check that the character before P has prefix syntax. Prefix syntax can either come from the global major-mode syntax table, from the text property syntax-table or from the syntax -flag (20)." +flag (20). The flag must be ignored once inside a symbol, this +is done by passing CHECK-PREFIX-FLAG as nil." (setq p (or p (point))) (let ((parse-sexp-lookup-properties t)) (when-let ((syntax (syntax-after (1- p)))) (or (= (syntax-class syntax) 6) - (/= 0 (logand (lsh 1 20) (car syntax))))))) + (and check-prefix-flag + (/= 0 (logand (lsh 1 20) (car syntax)))))))) (defun sp-syntax-after-is-word-or-symbol (&optional p) "Check that the character after P has word or symbol syntax. @@ -1978,9 +1982,9 @@ regularly the character would be (for example according to the syntax table)." (setq p (or p (point))) (and (memq (sp-syntax-after p) '(?w ?_)) - (not (sp-syntax-after-is-prefix p)))) + (not (sp-syntax-after-is-prefix (not (sp-syntax-before-is-word-or-symbol t)) p)))) -(defun sp-syntax-before-is-word-or-symbol (&optional p) +(defun sp-syntax-before-is-word-or-symbol (check-prefix-flag &optional p) "Check that the character before P has word or symbol syntax. In case the character has a special syntax flag 'p', meaning a @@ -1989,7 +1993,7 @@ regularly the character would be (for example according to the syntax table)." (setq p (or p (point))) (and (memq (sp-syntax-before p) '(?w ?_)) - (not (sp-syntax-before-is-prefix p)))) + (not (sp-syntax-before-is-prefix check-prefix-flag p)))) (defun sp-point-in-string (&optional p) "Return non-nil if point is inside string or documentation string. @@ -7813,8 +7817,10 @@ Examples: ,(if forward '(sp-syntax-after) '(sp-syntax-before)) '(?< ?> ?! ?| ?\ ?\\ ?\" ?' ?.)) ,(if forward - '(sp-syntax-after-is-prefix (point)) - '(sp-syntax-before-is-prefix (point))) + ;; ignore prefix syntax not in a prefix position + '(and (not (sp-syntax-before-is-word-or-symbol t)) + (sp-syntax-after-is-prefix t)) + '(sp-syntax-before-is-prefix t)) (unless in-comment (sp-point-in-comment)) ;; This is the case where we are starting at ;; pair (looking at it) and there is some @@ -7986,7 +7992,7 @@ Examples: (while (> n 0) (while (cond ((bobp) nil) - ((not (sp-syntax-before-is-word-or-symbol)) + ((not (sp-syntax-before-is-word-or-symbol t)) (backward-char) t) ((sp--valid-initial-delimiter-p (sp--looking-back open)) @@ -7996,7 +8002,7 @@ Examples: (while (and (not (bobp)) (not (or (sp--valid-initial-delimiter-p (sp--looking-back open)) (sp--valid-initial-delimiter-p (sp--looking-back close)))) - (or (sp-syntax-before-is-word-or-symbol) + (or (sp-syntax-before-is-word-or-symbol nil) ;; now inside symbol so ignore prefix flag ;; Specifically for lisp, we consider ;; sequences of ?\ a symbol ;; sequence diff --git a/elpa/smartparens-20241220.1254/sp-sublimetext-like.el b/elpa/smartparens-20250511.2354/sp-sublimetext-like.el similarity index 100% rename from elpa/smartparens-20241220.1254/sp-sublimetext-like.el rename to elpa/smartparens-20250511.2354/sp-sublimetext-like.el -- 2.47.3