emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/smartparens 684e7722bf 6/8: Merge pull request #1147 from


From: ELPA Syncer
Subject: [nongnu] elpa/smartparens 684e7722bf 6/8: Merge pull request #1147 from ssbb/master
Date: Sun, 19 Feb 2023 13:03:14 -0500 (EST)

branch: elpa/smartparens
commit 684e7722bfdcb63897378756ceb10fc1e76601bd
Merge: aaf8099a61 db55eee0c7
Author: Matus Goljer <matus.goljer@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #1147 from ssbb/master
---
 smartparens-config.el | 1 +
 smartparens-elixir.el | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/smartparens-config.el b/smartparens-config.el
index 86febd5cc2..282a974bcc 100644
--- a/smartparens-config.el
+++ b/smartparens-config.el
@@ -105,6 +105,7 @@ ID, ACTION, CONTEXT."
 (eval-after-load 'clojure-mode             '(require 'smartparens-clojure))
 (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))
 (eval-after-load 'enh-ruby-mode            '(require 'smartparens-ruby))
 (eval-after-load 'erlang-mode              '(require 'smartparens-erlang))
 (eval-after-load 'ess                      '(require 'smartparens-ess))
diff --git a/smartparens-elixir.el b/smartparens-elixir.el
index 170d741236..bf416486c8 100644
--- a/smartparens-elixir.el
+++ b/smartparens-elixir.el
@@ -27,7 +27,7 @@
 
 (require 'smartparens)
 
-(--each '(elixir-mode)
+(--each '(elixir-mode elixir-ts-mode)
   (add-to-list 'sp-sexp-suffix (list it 'regexp "")))
 
 (defvar sp-elixir-builtins
@@ -135,7 +135,7 @@ ID, ACTION, CONTEXT."
       (indent-according-to-mode)
       (move-marker m nil nil))))
 
-(sp-with-modes 'elixir-mode
+(sp-with-modes '(elixir-mode elixir-ts-mode)
   (sp-local-pair "do" "end"
                  :when '(("SPC" "RET" "<evil-ret>"))
                  :skip-match 'sp-elixir-skip-def-p



reply via email to

[Prev in Thread] Current Thread [Next in Thread]