From fa5aecc250370b4be56b65601ebecbd1e9521046 Mon Sep 17 00:00:00 2001 From: andys8 Date: Wed, 10 Jul 2019 12:04:33 +0200 Subject: Elm-ls backward compatibility for previous naming Previous name of `elm-language-server` was `elm-lsp` --- ale_linters/elm/elm_ls.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ale_linters/elm/elm_ls.vim') diff --git a/ale_linters/elm/elm_ls.vim b/ale_linters/elm/elm_ls.vim index 4a373822..374ef8de 100644 --- a/ale_linters/elm/elm_ls.vim +++ b/ale_linters/elm/elm_ls.vim @@ -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'), -- cgit v1.2.3