diff options
author | Christopher Swingley <cswingle@gmail.com> | 2017-10-24 13:34:38 -0800 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2017-10-24 22:34:38 +0100 |
commit | 1c56bebd7ca44d43badc9a63dd7dc4d88fd1b8b9 (patch) | |
tree | 60c73e51697bc2a84c463e1e8d514ffcca931c67 | |
parent | fe729dab583d69853c20d373a0eb217a971f14a0 (diff) | |
download | ale-1c56bebd7ca44d43badc9a63dd7dc4d88fd1b8b9.zip |
proselint for mail files (#1037)
Add proselint for mail files
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | ale_linters/mail/proselint.vim | 9 | ||||
-rw-r--r-- | doc/ale.txt | 1 |
3 files changed, 11 insertions, 0 deletions
@@ -109,6 +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/) | | 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) | | Nim | [nim check](https://nim-lang.org/docs/nimc.html) !! | diff --git a/ale_linters/mail/proselint.vim b/ale_linters/mail/proselint.vim new file mode 100644 index 00000000..82c8d1f8 --- /dev/null +++ b/ale_linters/mail/proselint.vim @@ -0,0 +1,9 @@ +" Author: Daniel M. Capella https://github.com/polyzen +" Description: proselint for mail files + +call ale#linter#Define('mail', { +\ 'name': 'proselint', +\ 'executable': 'proselint', +\ 'command': 'proselint %t', +\ 'callback': 'ale#handlers#unix#HandleAsWarning', +\}) diff --git a/doc/ale.txt b/doc/ale.txt index e0e85df8..68e71a66 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -266,6 +266,7 @@ Notes: * LaTeX (tex): `chktex`, `lacheck`, `proselint` * LLVM: `llc` * Lua: `luacheck` +* Mail: `proselint` * Markdown: `mdl`, `proselint`, `vale`, `remark-lint` * MATLAB: `mlint` * Nim: `nim check`!! |