summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2017-10-08 15:33:34 +0100
committerGitHub <noreply@github.com>2017-10-08 15:33:34 +0100
commit65aa88a7d5d9b855f71f2b2f30cb4ae1fca63ad3 (patch)
tree7a5770a570657a321087c0dcc7f8d0d0d524d0e9
parent47577564a2294668d7997b261e17fd97f0dd1fe6 (diff)
parentf21f52343db942bd39ed6a2bb196d01aaf1f741f (diff)
downloadale-65aa88a7d5d9b855f71f2b2f30cb4ae1fca63ad3.zip
Merge pull request #981 from Kazark/fix-elm-win32
Fix Elm linter for Windows (resolves #980)
-rw-r--r--ale_linters/elm/make.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/elm/make.vim b/ale_linters/elm/make.vim
index 4038e3b4..3783b5e3 100644
--- a/ale_linters/elm/make.vim
+++ b/ale_linters/elm/make.vim
@@ -71,11 +71,11 @@ function! ale_linters#elm#make#GetCommand(buffer) abort
" The elm-make compiler, at the time of this writing, uses '/dev/null' as
" a sort of flag to tell the compiler not to generate an output file,
- " which is why this is hard coded here.
+ " which is why this is hard coded here. It does not use NUL on Windows.
" Source: https://github.com/elm-lang/elm-make/blob/master/src/Flags.hs
let l:elm_cmd = ale#Escape(l:elm_exe)
\ . ' --report=json'
- \ . ' --output=' . ale#Escape(g:ale#util#nul_file)
+ \ . ' --output=/dev/null'
return l:dir_set_cmd . ' ' . l:elm_cmd . ' %t'
endfunction