From db769fb060cd08bb1fd2135e77f21300ab4d445b Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Mon, 25 Sep 2017 22:47:46 -0600 Subject: [PATCH] #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 0000000..9b30bf6 --- /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', +\})