diff options
author | TANIGUCHI Masaya <xtaniguchimasaya+code@gmail.com> | 2019-01-11 03:53:45 +0900 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2019-01-10 18:53:45 +0000 |
commit | fabebb3a47d41b31d900e98e6f96b61524eec6aa (patch) | |
tree | 8e1df094af0f960de19cfacd077de53c004a5f27 /ale_linters/asciidoc | |
parent | 721183116e91d3988185c7ca87a409f3488c5b01 (diff) | |
download | ale-fabebb3a47d41b31d900e98e6f96b61524eec6aa.zip |
Add textlint for Asciidoc and add it to Fixers (#2193)
* Add textlint for asciidoc
* Add textlint --fix
Diffstat (limited to 'ale_linters/asciidoc')
-rw-r--r-- | ale_linters/asciidoc/textlint.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ale_linters/asciidoc/textlint.vim b/ale_linters/asciidoc/textlint.vim new file mode 100644 index 00000000..757718b9 --- /dev/null +++ b/ale_linters/asciidoc/textlint.vim @@ -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', +\}) |