summaryrefslogtreecommitdiff
path: root/ale_linters/elm
diff options
context:
space:
mode:
authorandys8 <andys8@users.noreply.github.com>2019-07-10 12:04:33 +0200
committerandys8 <andys8@users.noreply.github.com>2019-07-10 12:04:33 +0200
commitfa5aecc250370b4be56b65601ebecbd1e9521046 (patch)
treee03fbb1eac86f4732a82c122fd9e1c8cde3b493f /ale_linters/elm
parent0843efc7a5010cd1aa0875a0254b466db9f7fc4a (diff)
downloadale-fa5aecc250370b4be56b65601ebecbd1e9521046.zip
Elm-ls backward compatibility for previous naming
Previous name of `elm-language-server` was `elm-lsp`
Diffstat (limited to 'ale_linters/elm')
-rw-r--r--ale_linters/elm/elm_ls.vim4
1 files changed, 3 insertions, 1 deletions
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'),