Elm-ls backward compatibility for previous naming
Previous name of `elm-language-server` was `elm-lsp`
This commit is contained in:
parent
0843efc7a5
commit
fa5aecc250
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,9 @@ call ale#linter#Define('elm', {
|
|||
\ 'name': 'elm_ls',
|
||||
\ 'lsp': 'stdio',
|
||||
\ 'executable': {b -> ale#node#FindExecutable(b, 'elm_ls', [
|
||||
\ 'node_modules/.bin/elm-language-server'
|
||||
\ 'node_modules/.bin/elm-language-server',
|
||||
\ 'node_modules/.bin/elm-lsp',
|
||||
\ 'elm-lsp'
|
||||
\ ])},
|
||||
\ 'command': '%e --stdio',
|
||||
\ 'project_root': function('elm_ls#GetRootDir'),
|
||||
|
|
Reference in a new issue