summaryrefslogtreecommitdiff
path: root/ale_linters/mail
diff options
context:
space:
mode:
authorSumner Evans <sumner.evans98@gmail.com>2017-09-25 22:47:46 -0600
committerSumner Evans <sumner.evans98@gmail.com>2017-10-24 17:01:40 -0600
commitdb769fb060cd08bb1fd2135e77f21300ab4d445b (patch)
tree76beb9e27f9fedfc8ce4a9eb07a762fb6e8c8627 /ale_linters/mail
parent1a5ef969a528c037b865828dedcd482a51d0e004 (diff)
downloadale-db769fb060cd08bb1fd2135e77f21300ab4d445b.zip
#995 add vale linter for mail files
Diffstat (limited to 'ale_linters/mail')
-rw-r--r--ale_linters/mail/vale.vim9
1 files changed, 9 insertions, 0 deletions
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',
+\})