summaryrefslogtreecommitdiff
path: root/ale_linters/rst
diff options
context:
space:
mode:
authorhokorobi <hokorobi.hokorobi@gmail.com>2019-01-12 23:40:03 +0900
committerw0rp <w0rp@users.noreply.github.com>2019-01-12 14:40:03 +0000
commit7f176390fc4c1b3c1a7be484e0a84c4eb8f896e3 (patch)
tree282e6c183437e2e7fe00f45b35caa8818be08793 /ale_linters/rst
parent56b7dca6234d9922c07ca6925a74a45af0ac3b3a (diff)
downloadale-7f176390fc4c1b3c1a7be484e0a84c4eb8f896e3.zip
Support textlint for reStructuredText (#1978)
* Support textlint for reStructuredText * Add linter test for textlint rst
Diffstat (limited to 'ale_linters/rst')
-rw-r--r--ale_linters/rst/textlint.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/ale_linters/rst/textlint.vim b/ale_linters/rst/textlint.vim
new file mode 100644
index 00000000..a14411cf
--- /dev/null
+++ b/ale_linters/rst/textlint.vim
@@ -0,0 +1,9 @@
+" Author: hokorobi <hokorobi.hokorobi@gmail.com>
+" Description: textlint, a proofreading tool (https://textlint.github.io/)
+
+call ale#linter#Define('rst', {
+\ 'name': 'textlint',
+\ 'executable_callback': 'ale#handlers#textlint#GetExecutable',
+\ 'command_callback': 'ale#handlers#textlint#GetCommand',
+\ 'callback': 'ale#handlers#textlint#HandleTextlintOutput',
+\})