summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-04-03 23:11:25 +0100
committerw0rp <devw0rp@gmail.com>2017-04-03 23:20:48 +0100
commite73baafd95dc2a98d8c9d84b31f07d325f321955 (patch)
treee1079c611b0a8c50d0e1ee2d3e79788efc4bc495
parentb4667a0432a0675e1f20f60014e3738d8e7ca88f (diff)
downloadale-e73baafd95dc2a98d8c9d84b31f07d325f321955.zip
#447 Pass a temporary file to the shell linter instead
-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