diff options
Diffstat (limited to 'ale_linters/erlang/erlang_ls.vim')
-rw-r--r-- | ale_linters/erlang/erlang_ls.vim | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ale_linters/erlang/erlang_ls.vim b/ale_linters/erlang/erlang_ls.vim index b747e454..0f070459 100644 --- a/ale_linters/erlang/erlang_ls.vim +++ b/ale_linters/erlang/erlang_ls.vim @@ -21,7 +21,14 @@ function! s:GetCommand(buffer) abort endfunction function! s:FindProjectRoot(buffer) abort - let l:markers = ['_build/', 'erlang_ls.config', 'rebar.lock'] + let l:markers = [ + \ '_checkouts/', + \ '_build/', + \ 'deps/', + \ 'erlang_ls.config', + \ 'rebar.lock', + \ 'erlang.mk', + \] " This is a way to find Erlang/OTP root (the one that is managed " by kerl or asdf). Useful if :ALEGoToDefinition takes us there. |