diff options
author | Robert J <chew-z@users.noreply.github.com> | 2017-05-01 23:06:04 +0800 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2017-05-01 16:06:04 +0100 |
commit | d5c135cfaff0568717ec9e4e0dab5d37e8a12921 (patch) | |
tree | 645abc93ad9f83cf73ca208a6451d2ae65fc60aa /ale_linters | |
parent | 5dcc77e8c80f39ebc095a16fe11846f53d508a3a (diff) | |
download | ale-d5c135cfaff0568717ec9e4e0dab5d37e8a12921.zip |
Glue for Vale (#522)
Add Vale linter definitions
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/markdown/vale.vim | 9 | ||||
-rw-r--r-- | ale_linters/text/vale.vim | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/ale_linters/markdown/vale.vim b/ale_linters/markdown/vale.vim new file mode 100644 index 00000000..43b3d34a --- /dev/null +++ b/ale_linters/markdown/vale.vim @@ -0,0 +1,9 @@ +" Author: chew-z https://github.com/chew-z +" Description: vale for Markdown files + +call ale#linter#Define('markdown', { +\ 'name': 'vale', +\ 'executable': 'vale', +\ 'command': 'vale --output=line %t', +\ 'callback': 'ale#handlers#unix#HandleAsWarning', +\}) diff --git a/ale_linters/text/vale.vim b/ale_linters/text/vale.vim new file mode 100644 index 00000000..60bd799f --- /dev/null +++ b/ale_linters/text/vale.vim @@ -0,0 +1,9 @@ +" Author: chew-z https://github.com/chew-z +" Description: vale for text files + +call ale#linter#Define('text', { +\ 'name': 'vale', +\ 'executable': 'vale', +\ 'command': 'vale --output=line %t', +\ 'callback': 'ale#handlers#unix#HandleAsWarning', +\}) |