summaryrefslogtreecommitdiff
path: root/ale_linters/text
diff options
context:
space:
mode:
authorRobert J <chew-z@users.noreply.github.com>2017-05-01 23:06:04 +0800
committerw0rp <w0rp@users.noreply.github.com>2017-05-01 16:06:04 +0100
commitd5c135cfaff0568717ec9e4e0dab5d37e8a12921 (patch)
tree645abc93ad9f83cf73ca208a6451d2ae65fc60aa /ale_linters/text
parent5dcc77e8c80f39ebc095a16fe11846f53d508a3a (diff)
downloadale-d5c135cfaff0568717ec9e4e0dab5d37e8a12921.zip
Glue for Vale (#522)
Add Vale linter definitions
Diffstat (limited to 'ale_linters/text')
-rw-r--r--ale_linters/text/vale.vim9
1 files changed, 9 insertions, 0 deletions
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',
+\})