From 69014613446baf9b199aa09cc023e165d5fc1976 Mon Sep 17 00:00:00 2001 From: Matus Goljer Date: Sun, 17 Mar 2024 22:01:32 +0100 Subject: [PATCH] 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 65ba9efe..bc906d1d 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" "")) :unless '(sp-ruby-in-string-or-word-p sp-in-comment-p)