Activate rspec run-command recipe in ruby-ts-mode too

This commit is contained in:
Jeremy Dormitzer 2024-04-16 18:19:25 -04:00
parent 1ff9236250
commit a28f84ae1e

View File

@ -401,7 +401,8 @@
(defun run-command-recipe-rspec ()
(when
(and (derived-mode-p 'ruby-mode)
(and (or (derived-mode-p 'ruby-mode)
(derived-mode-p 'ruby-ts-mode))
(save-excursion
(goto-char (point-min))
(re-search-forward "RSpec" nil t)))