#447 Pass a temporary file to the shell linter instead

This commit is contained in:
w0rp 2017-04-03 23:11:25 +01:00
parent 4fc8452838
commit f3fa8db4cf

View file

@ -30,7 +30,7 @@ function! ale_linters#sh#shell#GetExecutable(buffer) abort
endfunction
function! ale_linters#sh#shell#GetCommand(buffer) abort
return ale_linters#sh#shell#GetExecutable(a:buffer) . ' -n'
return ale_linters#sh#shell#GetExecutable(a:buffer) . ' -n %t'
endfunction
function! ale_linters#sh#shell#Handle(buffer, lines) abort