Add textlint for Asciidoc and add it to Fixers (#2193)

* Add textlint for asciidoc
* Add textlint --fix
This commit is contained in:
TANIGUCHI Masaya
2019-01-11 03:53:45 +09:00
committed by w0rp
parent 721183116e
commit fabebb3a47
9 changed files with 145 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
" Author: TANIGUCHI Masaya <ta2gch@gmail.com>
" Description: textlint for AsciiDoc files
call ale#linter#Define('asciidoc', {
\ 'name': 'textlint',
\ 'executable_callback': 'ale#handlers#textlint#GetExecutable',
\ 'command_callback': 'ale#handlers#textlint#GetCommand',
\ 'callback': 'ale#handlers#textlint#HandleTextlintOutput',
\})