Be more explicit about the effect of `g:..._perlcritic_profile = ''`

Just to prevent any confusion, the documentation now explicitly states
that setting `g:ale_perl_perlcritic_profile` to an empty string merely
disables passing an explicit profile to `perlcritic` and does not cause
`--no-profile` to be set.
This commit is contained in:
Chris Weyl 2017-06-30 10:12:12 -05:00
parent 3f1cab3e7e
commit 64c6cbee48
1 changed files with 6 additions and 1 deletions

View File

@ -44,7 +44,12 @@ g:ale_perl_perlcritic_profile *g:ale_perl_perlcritic_profile*
parent directory, etc, until it finds one. If no matching file is found, no
profile is passed to perlcritic.
Set to an empty string to disable using a profile.
Set to an empty string to disable passing a specific profile to perlcritic
with the `'--profile'` option.
To prevent perlcritic from using any profile, set this variable to an empty
string and pass `'--no-profile'`to perlcritic via the
|g:ale_perl_perlcritic_options| variable.
g:ale_perl_perlcritic_options *g:ale_perl_perlcritic_options*