summaryrefslogtreecommitdiff
path: root/ale_linters/sh
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-04-03 23:11:25 +0100
committerw0rp <devw0rp@gmail.com>2017-04-03 23:11:25 +0100
commitf3fa8db4cf57cf0250b4cc13aab03708068905a5 (patch)
treef800a29abffb5022982b8a10fd2526f1d498575e /ale_linters/sh
parent4fc8452838253a59fabc58ba48ea7a6425261edb (diff)
downloadale-f3fa8db4cf57cf0250b4cc13aab03708068905a5.zip
#447 Pass a temporary file to the shell linter instead
Diffstat (limited to 'ale_linters/sh')
-rw-r--r--ale_linters/sh/shell.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/sh/shell.vim b/ale_linters/sh/shell.vim
index 412aa8bb..8cb7a490 100644
--- a/ale_linters/sh/shell.vim
+++ b/ale_linters/sh/shell.vim
@@ -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