summaryrefslogtreecommitdiff
path: root/ale_linters/puppet
diff options
context:
space:
mode:
authorTim Byrne <sultan@locehilios.com>2018-08-29 07:11:51 -0500
committerTim Byrne <sultan@locehilios.com>2018-08-29 07:15:03 -0500
commited26ddc09cfa6374c460822ae30ab8a34619210a (patch)
treea89a34d42ce5d0384a98dc86266297c39d0e5fdb /ale_linters/puppet
parent6212d9a515a54866995c82eb88ed8b9469232e44 (diff)
downloadale-ed26ddc09cfa6374c460822ae30ab8a34619210a.zip
Always use --color=false when validating puppet
Colorized output is difficult for ALE to parse.
Diffstat (limited to 'ale_linters/puppet')
-rw-r--r--ale_linters/puppet/puppet.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/puppet/puppet.vim b/ale_linters/puppet/puppet.vim
index 1ed268d1..d44bb517 100644
--- a/ale_linters/puppet/puppet.vim
+++ b/ale_linters/puppet/puppet.vim
@@ -1,7 +1,7 @@
" Author: Alexander Olofsson <alexander.olofsson@liu.se>
call ale#Set('puppet_puppet_executable', 'puppet')
-call ale#Set('puppet_puppet_options', '--color=false')
+call ale#Set('puppet_puppet_options', '')
function! ale_linters#puppet#puppet#Handle(buffer, lines) abort
" Matches patterns like the following:
@@ -24,7 +24,7 @@ function! ale_linters#puppet#puppet#Handle(buffer, lines) abort
endfunction
function! ale_linters#puppet#puppet#GetCommand(buffer) abort
- return '%e parser validate '
+ return '%e parser validate --color=false '
\ . ale#Pad(ale#Var(a:buffer, 'puppet_puppet_options'))
\ . ' %t'
endfunction