diff options
author | w0rp <devw0rp@gmail.com> | 2017-12-02 20:43:47 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-12-02 20:43:47 +0000 |
commit | a4f8506227ae0842adb74035eef51eba71c079e1 (patch) | |
tree | 8d3c6e21f1d3e3f8864e40006efd291bf6e64c7a | |
parent | acd12603395f8541c4ee13d9b16e2595c9219343 (diff) | |
download | ale-a4f8506227ae0842adb74035eef51eba71c079e1.zip |
Fix #1186 - Disable checking code with perl by default
-rw-r--r-- | autoload/ale/linter.vim | 1 | ||||
-rw-r--r-- | doc/ale-perl.txt | 5 | ||||
-rw-r--r-- | doc/ale.txt | 1 |
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': [], |