summaryrefslogtreecommitdiff
path: root/ale_linters/mail/vale.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/mail/vale.vim')
-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',
+\})