mirror of https://github.com/dense-analysis/ale
#447 Pass a temporary file to the shell linter instead
This commit is contained in:
parent
4fc8452838
commit
f3fa8db4cf
|
@ -30,7 +30,7 @@ function! ale_linters#sh#shell#GetExecutable(buffer) abort
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! ale_linters#sh#shell#GetCommand(buffer) abort
|
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
|
endfunction
|
||||||
|
|
||||||
function! ale_linters#sh#shell#Handle(buffer, lines) abort
|
function! ale_linters#sh#shell#Handle(buffer, lines) abort
|
||||||
|
|
Loading…
Reference in New Issue