Add Vale linter for AsciiDoc

Vale supports AsciiDoc. This patch adds a Vale linter for AsciiDoc
files, which is based on the existing Markdown linter.
This commit is contained in:
Jeff Kreeftmeijer
2017-10-08 14:45:10 +02:00
parent dd7b2188ab
commit 7c73901199
3 changed files with 11 additions and 2 deletions

View File

@@ -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',
\})