summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-12-02 20:43:47 +0000
committerw0rp <devw0rp@gmail.com>2017-12-02 20:43:47 +0000
commita4f8506227ae0842adb74035eef51eba71c079e1 (patch)
tree8d3c6e21f1d3e3f8864e40006efd291bf6e64c7a
parentacd12603395f8541c4ee13d9b16e2595c9219343 (diff)
downloadale-a4f8506227ae0842adb74035eef51eba71c079e1.zip
Fix #1186 - Disable checking code with perl by default
-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': [],