Skip to content

Commit

Permalink
fix(ruby): load config for legacy ruby-mode as well
Browse files Browse the repository at this point in the history
Fixes #1176
  • Loading branch information
Fuco1 committed Mar 17, 2024
1 parent 24af0fb commit 6901461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smartparens-ruby.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6901461

Please sign in to comment.