Set a default for the puppetlint options so the linter will behave like it always has done, by default

This commit is contained in:
w0rp 2017-04-12 23:25:31 +01:00
parent 7e0e7359c0
commit c2fdb399a7
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ let g:ale_puppet_puppetlint_executable =
\ get(g:, 'ale_puppet_puppetlint_executable', 'puppet-lint') \ get(g:, 'ale_puppet_puppetlint_executable', 'puppet-lint')
let g:ale_puppet_puppetlint_options = 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 function! ale_linters#puppet#puppetlint#GetExecutable(buffer) abort
return g:ale_puppet_puppetlint_executable return g:ale_puppet_puppetlint_executable

View File

@ -16,7 +16,7 @@ g:ale_puppet_puppetlint_executable *g:ale_puppet_puppetlint_executable*
g:ale_puppet_puppetlint_options *g:ale_puppet_puppetlint_options* g:ale_puppet_puppetlint_options *g:ale_puppet_puppetlint_options*
Type: |String| Type: |String|
Default: `''` Default: `'--no-autoloader_layout-check'`
This variable can be changed to add command-line arguments to the This variable can be changed to add command-line arguments to the
puppet-lint invocation. puppet-lint invocation.