summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2017-10-25 00:40:59 +0100
committerGitHub <noreply@github.com>2017-10-25 00:40:59 +0100
commit94bdabb8c3c6445249c0e3bac5b7bcf159fd49f3 (patch)
tree181402d63f0fec863f9c5875075a9822998403c6 /ale_linters
parenteec529ad9d703aae12cba6f6423d04c08ae26d0d (diff)
parent780844ad73d2181db81371c360185a1e0ba0cc70 (diff)
downloadale-94bdabb8c3c6445249c0e3bac5b7bcf159fd49f3.zip
Merge pull request #1044 from sumnerevans/mail-linters
#955 Add vale linter for mail files
Diffstat (limited to 'ale_linters')
-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',
+\})