fix(ruby): ruby REPL w/ robe

set-repl-handler! handlers have to return a buffer.

Close: #7450
Co-authored-by: Zetagon <Zetagon@users.noreply.github.com>
This commit is contained in:
Henrik Lissner 2024-03-11 03:55:04 -04:00
parent 1db96a1fdb
commit 68682ac012
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
2 changed files with 7 additions and 1 deletions

View file

@ -13,3 +13,9 @@ open."
(when (processp process)
(kill-process (get-buffer-process inf-buffer))
(kill-buffer inf-buffer)))))))
;;;###autoload
(defun +ruby-robe-repl-handler ()
"Start Robe and open a REPL (for `set-repl-handler!')."
(robe-start)
(robe-inf-buffer))