summaryrefslogtreecommitdiff
path: root/ale_linters/asciidoc/vale.vim
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2018-11-15 09:10:53 +0000
committerGitHub <noreply@github.com>2018-11-15 09:10:53 +0000
commit531868f759404e11d1f34f72e19dcd6112a88567 (patch)
tree046a83de9da1f2ab3d548582d0507503da68b6f5 /ale_linters/asciidoc/vale.vim
parentdd7b2188ab2cc50d548d38f8ebfcccc1ae61983a (diff)
parent7c7390119966f5f8f45a02cda94c09d4fa117a63 (diff)
downloadale-531868f759404e11d1f34f72e19dcd6112a88567.zip
Merge pull request #2079 from jeffkreeftmeijer/vale-asciidoc
Add Vale linter for AsciiDoc
Diffstat (limited to 'ale_linters/asciidoc/vale.vim')
-rw-r--r--ale_linters/asciidoc/vale.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/ale_linters/asciidoc/vale.vim b/ale_linters/asciidoc/vale.vim
new file mode 100644
index 00000000..b3cf4547
--- /dev/null
+++ b/ale_linters/asciidoc/vale.vim
@@ -0,0 +1,9 @@
+" Author: Jeff Kreeftmeijer https://github.com/jeffkreeftmeijer
+" Description: vale for AsciiDoc files
+
+call ale#linter#Define('asciidoc', {
+\ 'name': 'vale',
+\ 'executable': 'vale',
+\ 'command': 'vale --output=line %t',
+\ 'callback': 'ale#handlers#unix#HandleAsWarning',
+\})