diff options
author | w0rp <devw0rp@gmail.com> | 2017-02-11 19:40:57 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-02-11 19:40:57 +0000 |
commit | ecbb27680563a50d4dd981f968d659ef20bfbe30 (patch) | |
tree | 3e60f1ad7840dce1351819cd191a4c7ca0a7330e /ale_linters/puppet | |
parent | c33602534e205aa677521ce49a8054588d88bdc2 (diff) | |
download | ale-ecbb27680563a50d4dd981f968d659ef20bfbe30.zip |
Replace every stdin-wrapper script with the new %t formatting support
Diffstat (limited to 'ale_linters/puppet')
-rw-r--r-- | ale_linters/puppet/puppet.vim | 2 | ||||
-rw-r--r-- | ale_linters/puppet/puppetlint.vim | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ale_linters/puppet/puppet.vim b/ale_linters/puppet/puppet.vim index 534894cd..175d059f 100644 --- a/ale_linters/puppet/puppet.vim +++ b/ale_linters/puppet/puppet.vim @@ -33,6 +33,6 @@ call ale#linter#Define('puppet', { \ 'name': 'puppet', \ 'executable': 'puppet', \ 'output_stream': 'stderr', -\ 'command': g:ale#util#stdin_wrapper . ' .pp puppet parser validate --color=false', +\ 'command': 'puppet parser validate --color=false %t', \ 'callback': 'ale_linters#puppet#puppet#Handle', \}) diff --git a/ale_linters/puppet/puppetlint.vim b/ale_linters/puppet/puppetlint.vim index 2d93e530..05745cfe 100644 --- a/ale_linters/puppet/puppetlint.vim +++ b/ale_linters/puppet/puppetlint.vim @@ -3,6 +3,8 @@ call ale#linter#Define('puppet', { \ 'name': 'puppetlint', \ 'executable': 'puppet-lint', -\ 'command': g:ale#util#stdin_wrapper . ' .pp puppet-lint --no-autoloader_layout-check --log-format "-:%{line}:%{column}: %{kind}: [%{check}] %{message}"', +\ 'command': 'puppet-lint --no-autoloader_layout-check' +\ . ' --log-format "-:%{line}:%{column}: %{kind}: [%{check}] %{message}"' +\ . ' %t', \ 'callback': 'ale#handlers#HandleGCCFormat', \}) |