From db769fb060cd08bb1fd2135e77f21300ab4d445b Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Mon, 25 Sep 2017 22:47:46 -0600 Subject: [PATCH 1/2] #995 add vale linter for mail files --- ale_linters/mail/vale.vim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ale_linters/mail/vale.vim diff --git a/ale_linters/mail/vale.vim b/ale_linters/mail/vale.vim new file mode 100644 index 00000000..9b30bf65 --- /dev/null +++ b/ale_linters/mail/vale.vim @@ -0,0 +1,9 @@ +" Author: chew-z https://github.com/chew-z +" Description: vale for Markdown files + +call ale#linter#Define('mail', { +\ 'name': 'vale', +\ 'executable': 'vale', +\ 'command': 'vale --output=line %t', +\ 'callback': 'ale#handlers#unix#HandleAsWarning', +\}) From 780844ad73d2181db81371c360185a1e0ba0cc70 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Tue, 24 Oct 2017 17:14:42 -0600 Subject: [PATCH 2/2] #955 add documentation --- README.md | 2 +- doc/ale.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 88170466..3f62fae1 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ formatting. | LaTeX | [chktex](http://www.nongnu.org/chktex/), [lacheck](https://www.ctan.org/pkg/lacheck), [proselint](http://proselint.com/) | | LLVM | [llc](https://llvm.org/docs/CommandGuide/llc.html) | | Lua | [luacheck](https://github.com/mpeterv/luacheck) | -| Mail | [proselint](http://proselint.com/) | +| Mail | [proselint](http://proselint.com/), [vale](https://github.com/ValeLint/vale) | | Make | [checkmake](https://github.com/mrtazz/checkmake) | | Markdown | [mdl](https://github.com/mivok/markdownlint), [proselint](http://proselint.com/), [vale](https://github.com/ValeLint/vale), [remark-lint](https://github.com/wooorm/remark-lint) !! | | MATLAB | [mlint](https://www.mathworks.com/help/matlab/ref/mlint.html) | diff --git a/doc/ale.txt b/doc/ale.txt index 42f48b23..4bd8550d 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -266,7 +266,7 @@ Notes: * LaTeX (tex): `chktex`, `lacheck`, `proselint` * LLVM: `llc` * Lua: `luacheck` -* Mail: `proselint` +* Mail: `proselint`, `vale` * Make: `checkmake` * Markdown: `mdl`, `proselint`, `vale`, `remark-lint` * MATLAB: `mlint`