From c2fdb399a7aa635cbd767804c4cccb54e539fd28 Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 12 Apr 2017 23:25:31 +0100 Subject: [PATCH] Set a default for the puppetlint options so the linter will behave like it always has done, by default --- ale_linters/puppet/puppetlint.vim | 2 +- doc/ale-puppet.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ale_linters/puppet/puppetlint.vim b/ale_linters/puppet/puppetlint.vim index 0dfd934..902480d 100644 --- a/ale_linters/puppet/puppetlint.vim +++ b/ale_linters/puppet/puppetlint.vim @@ -5,7 +5,7 @@ let g:ale_puppet_puppetlint_executable = \ get(g:, 'ale_puppet_puppetlint_executable', 'puppet-lint') let g:ale_puppet_puppetlint_options = -\ get(g:, 'ale_puppet_puppetlint_options', '') +\ get(g:, 'ale_puppet_puppetlint_options', '--no-autoloader_layout-check') function! ale_linters#puppet#puppetlint#GetExecutable(buffer) abort return g:ale_puppet_puppetlint_executable diff --git a/doc/ale-puppet.txt b/doc/ale-puppet.txt index eb305ae..1fd46e1 100644 --- a/doc/ale-puppet.txt +++ b/doc/ale-puppet.txt @@ -16,7 +16,7 @@ g:ale_puppet_puppetlint_executable *g:ale_puppet_puppetlint_executable* g:ale_puppet_puppetlint_options *g:ale_puppet_puppetlint_options* Type: |String| - Default: `''` + Default: `'--no-autoloader_layout-check'` This variable can be changed to add command-line arguments to the puppet-lint invocation.