summaryrefslogtreecommitdiff
path: root/ale_linters/rst/redpen.vim
diff options
context:
space:
mode:
authorrhysd <lin90162@yahoo.co.jp>2017-11-17 15:21:18 +0900
committerrhysd <lin90162@yahoo.co.jp>2017-11-17 15:34:07 +0900
commit44cd07d39c860c32016d85b4d4f0c8aec901064d (patch)
tree92f8c934ed4dd0f5eb792295e939396ec680ef52 /ale_linters/rst/redpen.vim
parent1f4f19cbd422e30ae95e63df6fae26d99651dc03 (diff)
downloadale-44cd07d39c860c32016d85b4d4f0c8aec901064d.zip
redpen support for asciidoc, reST, LaTeX and Re:VIEW
Diffstat (limited to 'ale_linters/rst/redpen.vim')
-rw-r--r--ale_linters/rst/redpen.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/ale_linters/rst/redpen.vim b/ale_linters/rst/redpen.vim
new file mode 100644
index 00000000..ac966c56
--- /dev/null
+++ b/ale_linters/rst/redpen.vim
@@ -0,0 +1,9 @@
+" Author: rhysd https://rhysd.github.io
+" Description: Redpen, a proofreading tool (http://redpen.cc)
+
+call ale#linter#Define('rst', {
+\ 'name': 'redpen',
+\ 'executable': 'redpen',
+\ 'command': 'redpen -f rest -r json %t',
+\ 'callback': 'ale#handlers#redpen#HandleRedpenOutput',
+\})