Add Groovy REPL support

This commit is contained in:
Seong Yong-ju 2020-05-06 23:49:05 +09:00
parent b5c4fce0b1
commit 3e7624cfc0
2 changed files with 8 additions and 1 deletions

View file

@ -71,3 +71,9 @@ root)."
(user-error "This buffer has no filepath; cannot guess its class name"))
(or (file-name-sans-extension (file-name-base (buffer-file-name)))
"ClassName"))
;;;###autoload
(defun +java/groovy-open-repl ()
(interactive)
(call-interactively #'run-groovy)
(pop-to-buffer groovy-buffer))