summaryrefslogtreecommitdiff
path: root/ale_linters/markdown/textlint.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/markdown/textlint.vim')
-rw-r--r--ale_linters/markdown/textlint.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/ale_linters/markdown/textlint.vim b/ale_linters/markdown/textlint.vim
new file mode 100644
index 00000000..26458506
--- /dev/null
+++ b/ale_linters/markdown/textlint.vim
@@ -0,0 +1,9 @@
+" Author: tokida https://rouger.info, Yasuhiro Kiyota <yasuhiroki.duck@gmail.com>
+" Description: textlint, a proofreading tool (https://textlint.github.io/)
+
+call ale#linter#Define('markdown', {
+\ 'name': 'textlint',
+\ 'executable_callback': 'ale#handlers#textlint#GetExecutable',
+\ 'command_callback': 'ale#handlers#textlint#GetCommand',
+\ 'callback': 'ale#handlers#textlint#HandleTextlintOutput',
+\})