lang/scala: fix REPL command for non-project files

run-scala errors out if you're not in a valid project.
This commit is contained in:
Henrik Lissner
2019-07-11 01:24:28 +02:00
parent aeb5cca727
commit d2b694ed53
2 changed files with 16 additions and 1 deletions

View File

@ -33,4 +33,4 @@
(def-package! sbt-mode
:after scala-mode
:config (set-repl-handler! 'scala-mode #'run-scala))
:config (set-repl-handler! 'scala-mode #'+scala/open-repl))