Activate rspec run-command recipe in ruby-ts-mode too
This commit is contained in:
parent
1ff9236250
commit
a28f84ae1e
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user