summaryrefslogtreecommitdiff
path: root/ale_linters/rst/redpen.vim
diff options
context:
space:
mode:
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',
+\})