summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoload/ale/linter.vim1
-rw-r--r--doc/ale-perl.txt5
-rw-r--r--doc/ale.txt1
3 files changed, 7 insertions, 0 deletions
diff --git a/autoload/ale/linter.vim b/autoload/ale/linter.vim
index e8f30fff..f4fa0c44 100644
--- a/autoload/ale/linter.vim
+++ b/autoload/ale/linter.vim
@@ -27,6 +27,7 @@ let s:default_ale_linters = {
\ 'csh': ['shell'],
\ 'go': ['gofmt', 'golint', 'go vet'],
\ 'help': [],
+\ 'perl': ['perlcritic'],
\ 'python': ['flake8', 'mypy', 'pylint'],
\ 'rust': ['cargo'],
\ 'spec': [],
diff --git a/doc/ale-perl.txt b/doc/ale-perl.txt
index 7611d30f..414856bd 100644
--- a/doc/ale-perl.txt
+++ b/doc/ale-perl.txt
@@ -1,6 +1,11 @@
===============================================================================
ALE Perl Integration *ale-perl-options*
+ALE offers a few ways to check Perl code. Checking code with `perl` is
+disabled by default, as `perl` code cannot be checked without executing it.
+
+See |g:ale_linters|.
+
===============================================================================
perl *ale-perl-perl*
diff --git a/doc/ale.txt b/doc/ale.txt
index 1106946b..3f90223e 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -1031,6 +1031,7 @@ g:ale_linters *g:ale_linters*
\ 'csh': ['shell'],
\ 'go': ['gofmt', 'golint', 'go vet'],
\ 'help': [],
+ \ 'perl': ['perlcritic'],
\ 'python': ['flake8', 'mypy', 'pylint'],
\ 'rust': ['cargo'],
\ 'spec': [],