Skip to content

Commit

Permalink
PR Feedback: inheritance does not work in a couple places
Browse files Browse the repository at this point in the history
  • Loading branch information
danielma authored May 30, 2023
1 parent 4e3ca73 commit 7ccf5c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smartparens-ruby.el
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,9 @@ MS, ME, MB."
(sp-ruby-method-p "end"))))

(add-to-list 'sp-navigate-skip-match
'((ruby-base-mode enh-ruby-mode motion-mode) . sp--ruby-skip-match))
'((ruby-mode ruby-ts-mode enh-ruby-mode motion-mode) . sp--ruby-skip-match))

(dolist (mode '(ruby-base-mode motion-mode))
(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)
Expand Down

0 comments on commit 7ccf5c7

Please sign in to comment.