diff options
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | ale_linters/markdown/vale.vim | 9 | ||||
-rw-r--r-- | ale_linters/text/vale.vim | 9 | ||||
-rw-r--r-- | doc/ale.txt | 4 |
4 files changed, 22 insertions, 4 deletions
@@ -83,7 +83,7 @@ name. That seems to be the fairest way to arrange this table. | JSON | [jsonlint](http://zaa.ch/jsonlint/) | | LaTeX | [chktex](http://www.nongnu.org/chktex/), [lacheck](https://www.ctan.org/pkg/lacheck) | | Lua | [luacheck](https://github.com/mpeterv/luacheck) | -| Markdown | [mdl](https://github.com/mivok/markdownlint), [proselint](http://proselint.com/)| +| Markdown | [mdl](https://github.com/mivok/markdownlint), [proselint](http://proselint.com/), [vale](https://github.com/ValeLint/vale) | | MATLAB | [mlint](https://www.mathworks.com/help/matlab/ref/mlint.html) | | Nim | [nim](https://nim-lang.org/docs/nimc.html) | | nix | [nix-instantiate](http://nixos.org/nix/manual/#sec-nix-instantiate) | @@ -109,7 +109,7 @@ name. That seems to be the fairest way to arrange this table. | Swift | [swiftlint](https://swift.org/) | | Tex | [proselint](http://proselint.com/) | | Texinfo | [proselint](http://proselint.com/)| -| Text^ | [proselint](http://proselint.com/) | +| Text^ | [proselint](http://proselint.com/), [vale](https://github.com/ValeLint/vale) | | 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) | diff --git a/ale_linters/markdown/vale.vim b/ale_linters/markdown/vale.vim new file mode 100644 index 00000000..43b3d34a --- /dev/null +++ b/ale_linters/markdown/vale.vim @@ -0,0 +1,9 @@ +" Author: chew-z https://github.com/chew-z +" Description: vale for Markdown files + +call ale#linter#Define('markdown', { +\ 'name': 'vale', +\ 'executable': 'vale', +\ 'command': 'vale --output=line %t', +\ 'callback': 'ale#handlers#unix#HandleAsWarning', +\}) diff --git a/ale_linters/text/vale.vim b/ale_linters/text/vale.vim new file mode 100644 index 00000000..60bd799f --- /dev/null +++ b/ale_linters/text/vale.vim @@ -0,0 +1,9 @@ +" Author: chew-z https://github.com/chew-z +" Description: vale for text files + +call ale#linter#Define('text', { +\ 'name': 'vale', +\ 'executable': 'vale', +\ 'command': 'vale --output=line %t', +\ 'callback': 'ale#handlers#unix#HandleAsWarning', +\}) diff --git a/doc/ale.txt b/doc/ale.txt index 0e9ad35b..d8573ef1 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -141,7 +141,7 @@ The following languages and tools are supported. * JSON: 'jsonlint' * LaTeX: 'chktex', 'lacheck' * Lua: 'luacheck' -* Markdown: 'mdl', 'proselint' +* Markdown: 'mdl', 'proselint', 'vale' * MATLAB: 'mlint' * nim: 'nim check' * nix: 'nix-instantiate' @@ -167,7 +167,7 @@ The following languages and tools are supported. * Swift: 'swiftlint' * Tex: 'proselint' * Texinfo: 'proselint' -* Text: 'proselint' +* Text: 'proselint', 'vale' * TypeScript: 'tslint', 'typecheck' * Verilog: 'iverilog', 'verilator' * Vim: 'vint' |