From a6719c2d4fa0d4f5f2cdbaf8ece8de6c4faf1295 Mon Sep 17 00:00:00 2001 From: Horacio Sanson Date: Tue, 20 Jul 2021 10:00:49 +0900 Subject: Fix 3673 - Add nocolor option to ansible-lint (#3811) Co-authored-by: Horacio Sanson --- ale_linters/ansible/ansible_lint.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ale_linters/ansible/ansible_lint.vim') diff --git a/ale_linters/ansible/ansible_lint.vim b/ale_linters/ansible/ansible_lint.vim index d901abfd..e1b123ab 100644 --- a/ale_linters/ansible/ansible_lint.vim +++ b/ale_linters/ansible/ansible_lint.vim @@ -73,8 +73,8 @@ 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 -p %t' + \ '>=5.0.0': '%e --nocolor --parseable-severity -x yaml -', + \ '<5.0.0': '%e --nocolor -p %t' \} let l:command = ale#semver#GTE(a:version, [5, 0]) ? l:commands['>=5.0.0'] : l:commands['<5.0.0'] -- cgit v1.2.3