Add ability to edit rspec command before running
This commit is contained in:
parent
e1be78e05f
commit
5f11045ae0
@ -27,6 +27,12 @@
|
||||
|
||||
(use-package rspec-mode
|
||||
:hook (dired-mode . rspec-dired-mode)
|
||||
:config
|
||||
(defun rspec-compile-command-filter-return (output)
|
||||
(if current-prefix-arg
|
||||
(read-string "Command: " output)
|
||||
output))
|
||||
(advice-add 'rspec-compile-command :filter-return #'rspec-compile-command-filter-return)
|
||||
:custom
|
||||
(rspec-use-opts-file-when-available nil))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user