summaryrefslogtreecommitdiff
path: root/ale_linters/elm/make.vim
diff options
context:
space:
mode:
authorHéctor Ramón Jiménez <hector0193@gmail.com>2018-05-11 20:07:28 +0200
committerHéctor Ramón Jiménez <hector0193@gmail.com>2018-05-11 20:07:28 +0200
commit2f40da76e60c474dd1125e01013051d71fefc48e (patch)
tree73db34050813a5e57305fe730d945c23d866102b /ale_linters/elm/make.vim
parentd40f44793194ca383a72426738f5a411682bb241 (diff)
downloadale-2f40da76e60c474dd1125e01013051d71fefc48e.zip
Test global problems and imported module errors
Diffstat (limited to 'ale_linters/elm/make.vim')
-rw-r--r--ale_linters/elm/make.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/ale_linters/elm/make.vim b/ale_linters/elm/make.vim
index a85e55c4..f94f30f3 100644
--- a/ale_linters/elm/make.vim
+++ b/ale_linters/elm/make.vim
@@ -1,11 +1,11 @@
" Author: buffalocoder - https://github.com/buffalocoder, soywod - https://github.com/soywod
" Description: Elm linting in Ale. Closely follows the Syntastic checker in https://github.com/ElmCast/elm-vim.
-call ale#Set('elm_executable', 'elm')
-call ale#Set('elm_use_global', get(g:, 'ale_use_global_executables', 0))
+call ale#Set('elm_make_executable', 'elm')
+call ale#Set('elm_make_use_global', get(g:, 'ale_use_global_executables', 0))
function! ale_linters#elm#make#GetExecutable(buffer) abort
- return ale#node#FindExecutable(a:buffer, 'elm', [
+ return ale#node#FindExecutable(a:buffer, 'elm_make', [
\ 'node_modules/.bin/elm',
\])
endfunction