mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-08 13:34:46 +08:00
#447 Pass a temporary file to the shell linter instead
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user