diff --git a/ale_linters/scala/metals.vim b/ale_linters/scala/metals.vim index 1362e1a3..363aa990 100644 --- a/ale_linters/scala/metals.vim +++ b/ale_linters/scala/metals.vim @@ -13,6 +13,7 @@ function! ale_linters#scala#metals#GetProjectRoot(buffer) abort let l:potential_roots = [ \ 'build.sc', + \ 'build.mill', \ 'build.sbt', \ '.bloop', \ '.metals', diff --git a/doc/ale-scala.txt b/doc/ale-scala.txt index 4c188880..5a4ea793 100644 --- a/doc/ale-scala.txt +++ b/doc/ale-scala.txt @@ -33,8 +33,8 @@ g:ale_scala_metals_project_root 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. + `build.sc`, `build.mill`, `.bloop` or `.metals`. If the project root is elsewhere, + you can override the project root directory. ===============================================================================