diff options
author | w0rp <devw0rp@gmail.com> | 2017-04-12 23:25:31 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-04-12 23:25:31 +0100 |
commit | c2fdb399a7aa635cbd767804c4cccb54e539fd28 (patch) | |
tree | 3cbdf841bbf70c6327d1a144d952a6ef64e69acd | |
parent | 7e0e7359c02632db299eca8224860e3beab72824 (diff) | |
download | ale-c2fdb399a7aa635cbd767804c4cccb54e539fd28.zip |
Set a default for the puppetlint options so the linter will behave like it always has done, by default
-rw-r--r-- | ale_linters/puppet/puppetlint.vim | 2 | ||||
-rw-r--r-- | 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 0dfd934a..902480d8 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 eb305ae7..1fd46e18 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. |