diff --git a/layers/+lang/scala/README.org b/layers/+lang/scala/README.org index 9fe71a5f5..5d6148789 100644 --- a/layers/+lang/scala/README.org +++ b/layers/+lang/scala/README.org @@ -63,7 +63,7 @@ newer that =0.13.5= of sbt. ** Usage 1. Create a =.ensime= file at the root of your Scala project using =sbt - gen-ensime= at the shell. + ensimeConfig= and =sbt ensimeConfigProject= at the shell. 2. Run =M-x ensime= within Emacs to start an ENSIME session. Each Scala project uses a dedicated ENSIME session, so you only need to run =M-x diff --git a/layers/+lang/scala/packages.el b/layers/+lang/scala/packages.el index e778c5447..3cce76e4e 100644 --- a/layers/+lang/scala/packages.el +++ b/layers/+lang/scala/packages.el @@ -66,7 +66,7 @@ "Regenerate `.ensime' file and restart the ensime server." (interactive) (progn - (sbt-command "gen-ensime") + (sbt-command ";ensimeConfig;ensimeConfigProject") (ensime-shutdown) (ensime)))