diff options
author | w0rp <devw0rp@gmail.com> | 2016-12-22 11:32:20 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2016-12-22 11:32:20 +0000 |
commit | cd6d8f2ab62e30571da9384c561da03b36f60b1c (patch) | |
tree | 09ec7260d092a418158ee61a70b6dd2908572472 | |
parent | 771bfe3b185adb87e9480118eff8b476f6f02f05 (diff) | |
download | ale-cd6d8f2ab62e30571da9384c561da03b36f60b1c.zip |
Fix #229 Disable text linters by default
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | autoload/ale/linter.vim | 3 | ||||
-rw-r--r-- | doc/ale.txt | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -82,13 +82,14 @@ name. That seems to be the fairest way to arrange this table. | Scala | [scalac](http://scala-lang.org) | | Swift | [swiftlint](https://swift.org/) | | Tex | [proselint](http://proselint.com/) | -| Text | [proselint](http://proselint.com/) | +| Text^^ | [proselint](http://proselint.com/) | | TypeScript | [tslint](https://github.com/palantir/tslint), typecheck | | Verilog | [iverilog](https://github.com/steveicarus/iverilog), [verilator](http://www.veripool.org/projects/verilator/wiki/Intro) | | Vim | [vint](https://github.com/Kuniwak/vint) | | YAML | [yamllint](https://yamllint.readthedocs.io/) | -*^ Supported only on Unix machines via a wrapper script.* +* *^ Supported only on Unix machines via a wrapper script.* +* *^^ No text linters are enabled by default.* If you would like to see support for more languages and tools, please [create an issue](https://github.com/w0rp/ale/issues) diff --git a/autoload/ale/linter.vim b/autoload/ale/linter.vim index 802d8646..8885e00b 100644 --- a/autoload/ale/linter.vim +++ b/autoload/ale/linter.vim @@ -15,9 +15,12 @@ let s:default_ale_linter_aliases = { " Default linters to run for particular filetypes. " The user defined linter selections will be merged with this Dictionary. +" +" No linters are used for plaintext files by default. let s:default_ale_linters = { \ 'zsh': ['shell'], \ 'csh': ['shell'], +\ 'text': [], \} " Testing/debugging helper to unload all linters. diff --git a/doc/ale.txt b/doc/ale.txt index bed7e31f..6ee90a51 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -93,6 +93,8 @@ The following languages and tools are supported. * SCSS: 'sasslint', 'scsslint', 'stylelint' * Scala: 'scalac' * Swift: 'swiftlint' +* Tex: 'proselint' +* Text: 'proselint' * TypeScript: 'tslint', 'typecheck' * Verilog: 'iverilog', 'verilator' * Vim: 'vint' |