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
2018-11-14 21:41:18 +01:00
parent dd7b2188ab
commit 7c73901199
3 changed files with 11 additions and 2 deletions
+9
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',
\})