diff options
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/elixir/elixir_ls.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ale_linters/elixir/elixir_ls.vim b/ale_linters/elixir/elixir_ls.vim index d5ad7cfc..c1e8fdd6 100644 --- a/ale_linters/elixir/elixir_ls.vim +++ b/ale_linters/elixir/elixir_ls.vim @@ -1,7 +1,8 @@ " Author: Jon Parise <jon@indelible.org> -" Description: elixir-ls integration (https://github.com/JakeBecker/elixir-ls) +" Description: ElixirLS integration (https://github.com/JakeBecker/elixir-ls) call ale#Set('elixir_elixir_ls_release', 'elixir-ls') +call ale#Set('elixir_elixir_ls_config', {}) function! ale_linters#elixir#elixir_ls#GetExecutable(buffer) abort let l:dir = ale#path#Simplify(ale#Var(a:buffer, 'elixir_elixir_ls_release')) @@ -16,4 +17,5 @@ call ale#linter#Define('elixir', { \ 'executable_callback': 'ale_linters#elixir#elixir_ls#GetExecutable', \ 'command_callback': 'ale_linters#elixir#elixir_ls#GetExecutable', \ 'project_root_callback': 'ale#handlers#elixir#FindMixProjectRoot', +\ 'lsp_config_callback': ale#VarFunc('elixir_elixir_ls_config'), \}) |