branch: elpa/smartparens
commit 69014613446baf9b199aa09cc023e165d5fc1976
Author: Matus Goljer <matus.gol...@gmail.com>
Commit: Matus Goljer <matus.gol...@gmail.com>

    fix(ruby): load config for legacy ruby-mode as well
    
    Fixes #1176
---
 smartparens-ruby.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/smartparens-ruby.el b/smartparens-ruby.el
index 65ba9efeb9..bc906d1d84 100644
--- a/smartparens-ruby.el
+++ b/smartparens-ruby.el
@@ -298,7 +298,7 @@ MS, ME, MB."
 (dolist (mode '(ruby-mode ruby-ts-mode motion-mode))
   (add-to-list 'sp-sexp-suffix `(,mode syntax "")))
 
-(sp-with-modes '(ruby-base-mode enh-ruby-mode motion-mode)
+(sp-with-modes '(ruby-mode ruby-ts-mode enh-ruby-mode motion-mode)
   (sp-local-pair "do" "end"
                  :when '(("SPC" "RET" "<evil-ret>"))
                  :unless '(sp-ruby-in-string-or-word-p sp-in-comment-p)

Reply via email to