linter/scala/metals: add build.mill as project root detect file (#5012)
Some checks failed
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--lua-only) (push) Has been cancelled
CI / test_ale (--neovim-07-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled

Signed-off-by: Woshiluo Luo <woshiluo.luo@outlook.com>
This commit is contained in:
Woshiluo Luo
2025-08-13 23:58:33 +08:00
committed by GitHub
parent 92dd497e6c
commit 822d9a1bf3
2 changed files with 3 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ function! ale_linters#scala#metals#GetProjectRoot(buffer) abort
let l:potential_roots = [ let l:potential_roots = [
\ 'build.sc', \ 'build.sc',
\ 'build.mill',
\ 'build.sbt', \ 'build.sbt',
\ '.bloop', \ '.bloop',
\ '.metals', \ '.metals',

View File

@@ -33,8 +33,8 @@ g:ale_scala_metals_project_root
Default: `''` Default: `''`
By default the project root is found by searching upwards for `build.sbt`, 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 `build.sc`, `build.mill`, `.bloop` or `.metals`. If the project root is elsewhere,
can override the project root directory. you can override the project root directory.
=============================================================================== ===============================================================================