summaryrefslogtreecommitdiff
path: root/ale_linters/text
diff options
context:
space:
mode:
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',
+\})