Support textlint for plaintext without textlintrc

This commit is contained in:
yasuhiroki
2018-03-20 08:57:09 +09:00
parent dbf530e87f
commit 1d33d2cacf
3 changed files with 43 additions and 19 deletions

View File

@@ -0,0 +1,9 @@
" Author: Yasuhiro Kiyota <yasuhiroki.duck@gmail.com>
" Description: textlint, a proofreading tool (https://textlint.github.io/)
call ale#linter#Define('text', {
\ 'name': 'textlint',
\ 'executable_callback': 'ale#handlers#textlint#GetExecutable',
\ 'command_callback': 'ale#handlers#textlint#GetCommand',
\ 'callback': 'ale#handlers#textlint#HandleTextlintOutput',
\})