mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 04:34:25 +08:00
* add support for expert * Refactor elixir expert linter from feedback - Simplify configuration by removing executable lookup logic - Update documentation to reflect current configuration options - Rename test file and update assertions for the new configuration * default to expert for the lsp The install instructions included something I missed. It includes a global install, where the default executable is just `expert`. I'll default to that and review if I should should add a configuration for a global config. --------- Co-authored-by: Your Name <pmonson711@nfiindustries.com>
13 lines
408 B
VimL
13 lines
408 B
VimL
" Author: Paul Monson <pmonson711@pm.me>
|
|
" Description: Expert integration (https://github.com/elixir-lang/expert)
|
|
|
|
call ale#Set('elixir_expert_executable', 'expert')
|
|
|
|
call ale#linter#Define('elixir', {
|
|
\ 'name': 'expert',
|
|
\ 'lsp': 'stdio',
|
|
\ 'executable': {b -> ale#Var(b, 'elixir_expert_executable')},
|
|
\ 'command': '%e',
|
|
\ 'project_root': function('ale#handlers#elixir#FindMixUmbrellaRoot'),
|
|
\})
|