Skip to content

Commit d79b09e

Browse files
author
Your Name
committed
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.
1 parent c74929f commit d79b09e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ale_linters/elixir/expert.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Author: Paul Monson <[email protected]>
22
" Description: Expert integration (https://github.com/elixir-lang/expert)
33

4-
call ale#Set('elixir_expert_executable', '/usr/bin/elixir-expert')
4+
call ale#Set('elixir_expert_executable', 'expert')
55

66
call ale#linter#Define('elixir', {
77
\ 'name': 'expert',

test/linter/test_elixir_expert.vader

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ After:
55
call ale#assert#TearDownLinterTest()
66

77
Execute(should set correct defaults):
8-
AssertLinter '/usr/bin/elixir-expert', ale#Escape('/usr/bin/elixir-expert')
8+
AssertLinter 'expert', ale#Escape('expert')
99

1010
Execute(The executable should be configurable):
1111
let b:ale_elixir_expert_executable = 'foobar'

0 commit comments

Comments
 (0)