Elm-ls backward compatibility for previous naming

Previous name of `elm-language-server` was `elm-lsp`
This commit is contained in:
andys8 2019-07-10 12:04:33 +02:00
parent 0843efc7a5
commit fa5aecc250

View file

@ -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'),