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.