summaryrefslogtreecommitdiff
path: root/ale_linters/elixir
diff options
context:
space:
mode:
authorKamil Grzywacz <kwgrzywacz@gmail.com>2019-09-07 15:40:35 +0200
committerKamil Grzywacz <kwgrzywacz@gmail.com>2019-09-07 15:40:35 +0200
commite5e39a939a7007cfa4c9d922b41dc2bf5a4ec920 (patch)
treed23233cac384ac3f4f635ca408dcb9d656b97d72 /ale_linters/elixir
parent6e18c03d80c323e740f87103fc05955b5c61b54e (diff)
downloadale-e5e39a939a7007cfa4c9d922b41dc2bf5a4ec920.zip
credo now recognizes umbrella projects
Use ale#handlers#elixir#FindMixUmbrellaRoot to determine project root instead of ale#handlers#elixir#FindMixProjectRoot
Diffstat (limited to 'ale_linters/elixir')
-rw-r--r--ale_linters/elixir/credo.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/elixir/credo.vim b/ale_linters/elixir/credo.vim
index 317ecab3..7c298502 100644
--- a/ale_linters/elixir/credo.vim
+++ b/ale_linters/elixir/credo.vim
@@ -46,7 +46,7 @@ function! ale_linters#elixir#credo#GetMode() abort
endfunction
function! ale_linters#elixir#credo#GetCommand(buffer) abort
- let l:project_root = ale#handlers#elixir#FindMixProjectRoot(a:buffer)
+ let l:project_root = ale#handlers#elixir#FindMixUmbrellaRoot(a:buffer)
let l:mode = ale_linters#elixir#credo#GetMode()
return ale#path#CdString(l:project_root)