summaryrefslogtreecommitdiff
path: root/ale_linters/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/ansible')
-rw-r--r--ale_linters/ansible/ansible_lint.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/ansible/ansible_lint.vim b/ale_linters/ansible/ansible_lint.vim
index f83de01a..d901abfd 100644
--- a/ale_linters/ansible/ansible_lint.vim
+++ b/ale_linters/ansible/ansible_lint.vim
@@ -73,7 +73,7 @@ endfunction
function! ale_linters#ansible#ansible_lint#GetCommand(buffer, version) abort
let l:commands = {
- \ '>=5.0.0': '%e --parseable-severity -x yaml',
+ \ '>=5.0.0': '%e --parseable-severity -x yaml -',
\ '<5.0.0': '%e -p %t'
\}
let l:command = ale#semver#GTE(a:version, [5, 0]) ? l:commands['>=5.0.0'] : l:commands['<5.0.0']