summaryrefslogtreecommitdiff
path: root/doc/ale-perl.txt
diff options
context:
space:
mode:
authorSteven Humphrey <shumphrey@users.noreply.github.com>2017-06-11 21:13:47 +0100
committerw0rp <w0rp@users.noreply.github.com>2017-06-11 21:13:47 +0100
commit99263bdda446ec9c28ab92c3cafe8b166ac7fca8 (patch)
tree5fe88feff10c341315a3619df399a2b81e9a30a4 /doc/ale-perl.txt
parent64ad51048d8f490b57ca6e74864f4de3777ec2a7 (diff)
downloadale-99263bdda446ec9c28ab92c3cafe8b166ac7fca8.zip
Perlcritic column number and rule names (#640)
* Add column number to perlcritic linting output This returns the column number of the perlcritic error so that ale can show the column in addition to the line where perlcritic found an error. * Add perlcritic configuration for rule names This adds a configuration setting so that the name of the perlcritic rule is shown [Rule::Name] after the error message. This is useful to lookup the rule failure. * Add a vader test for perlcritic#GetCommand
Diffstat (limited to 'doc/ale-perl.txt')
-rw-r--r--doc/ale-perl.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/ale-perl.txt b/doc/ale-perl.txt
index 58940ca7..8349dff7 100644
--- a/doc/ale-perl.txt
+++ b/doc/ale-perl.txt
@@ -23,4 +23,16 @@ g:ale_perl_perl_options *g:ale_perl_perl_options*
-------------------------------------------------------------------------------
+perlcritic *ale-perl-perlcritic*
+
+g:ale_perl_perlcritic_showrules *g:ale_perl_perlcritic_showrules*
+
+ Type: |Number|
+ Default: 0
+
+ Controls whether perlcritic rule names are shown after the error message.
+ Defaults to off to reduce length of message.
+
+
+-------------------------------------------------------------------------------
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: