From 64c6cbee48c54c1913f245773eec7bc295eea0cf Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Fri, 30 Jun 2017 10:12:12 -0500 Subject: [PATCH] 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. --- doc/ale-perl.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/ale-perl.txt b/doc/ale-perl.txt index 4425bda5..ae50d615 100644 --- a/doc/ale-perl.txt +++ b/doc/ale-perl.txt @@ -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*