branch: elpa/smartparens
commit 16d83a5dbd3ac26ac2501b869fdbc5aa146076ad
Author: Sviatoslav Bulbakha <m...@ssbb.me>
Commit: Sviatoslav Bulbakha <m...@ssbb.me>

    Add Elixir Treesitter mode
---
 smartparens-elixir.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/smartparens-elixir.el b/smartparens-elixir.el
index 820c8df1a6..3d6d15953b 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