Skip to content
Browse files

Also match Pry prompt in rinari-console buffer (fixes #31)

  • Loading branch information...
1 parent b42136f commit c1eb3840f0e87e5a69cf77de3cd6984607800034 @purcell purcell committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 rinari.el
View
2 rinari.el
@@ -276,7 +276,7 @@ argument allows editing of the console command arguments."
(run-ruby command)
(with-current-buffer "*ruby*"
(set (make-local-variable 'inf-ruby-prompt-pattern)
- "^\\(irb([^)]+)\\|\\(jruby-\\|JRUBY-\\)?[1-9]\\.[0-9]\\.[0-9]+\\(-?p?[0-9]+\\)?\\) ?\\(:[0-9]+\\)* ?[\]>*\"'/`]>? *")
+ "^\\(irb([^)]+)\\|\\(pry([^)]+)\\|\\(jruby-\\|JRUBY-\\)?[1-9]\\.[0-9]\\.[0-9]+\\(-?p?[0-9]+\\)?\\) ?\\(:[0-9]+\\)* ?[\]>*\"'/`]>? *")
(set (make-local-variable 'inf-ruby-first-prompt-pattern) inf-ruby-prompt-pattern)
(rinari-launch))))

0 comments on commit c1eb384

Please sign in to comment.
Something went wrong with that request. Please try again.