summaryrefslogtreecommitdiff
path: root/doc/ale-scala.txt
diff options
context:
space:
mode:
authorJeffrey Lau <who.else.at.jlau.tk>2019-05-27 20:06:57 +0800
committerJeffrey Lau <who.else.at.jlau.tk>2019-08-31 12:34:57 +0800
commit5fcb24bb3e5d86da394ee1ba95fa0cea8e00ffff (patch)
treea15140cc374e5799e82071499e850c843306feb5 /doc/ale-scala.txt
parent73812c3e41c1c7fcf1705811f35ac4c9ccec003e (diff)
downloadale-5fcb24bb3e5d86da394ee1ba95fa0cea8e00ffff.zip
Add linter for Scala Metals
https://scalameta.org/metals/
Diffstat (limited to 'doc/ale-scala.txt')
-rw-r--r--doc/ale-scala.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/ale-scala.txt b/doc/ale-scala.txt
index ff43cd6c..c9638baf 100644
--- a/doc/ale-scala.txt
+++ b/doc/ale-scala.txt
@@ -3,6 +3,32 @@ ALE Scala Integration *ale-scala-options*
===============================================================================
+metals *ale-scala-metals*
+
+`metals` requires either an SBT project, a Mill project, or a running Bloop
+server.
+
+
+g:ale_scala_metals_executable *g:ale_scala_metals_executable*
+ *b:ale_scala_metals_executable*
+ Type: |String|
+ Default: `'metals-vim'`
+
+ Override the invoked `metals` binary.
+
+
+g:ale_scala_metals_project_root *g:ale_scala_metals_project_root*
+ *b:ale_scala_metals_project_root*
+ Type: |String|
+ Default: `''`
+
+ By default the project root is found by searching upwards for `build.sbt`,
+ `build.sc`, `.bloop` or `.metals`.
+ If the project root is elsewhere, you can override the project root
+ directory.
+
+
+===============================================================================
sbtserver *ale-scala-sbtserver*
`sbtserver` requires a running ^1.1.x sbt shell to connect to. It will attempt