summaryrefslogtreecommitdiff
path: root/ale_linters/text
diff options
context:
space:
mode:
authorrhysd <lin90162@yahoo.co.jp>2017-11-17 15:35:20 +0900
committerrhysd <lin90162@yahoo.co.jp>2017-11-17 16:43:16 +0900
commit79f15b0e3050b9ca2ddd82a6712b5bfcb934cadb (patch)
treea9d05b3f4cb34c9f85c5d3cd72e3521c39575954 /ale_linters/text
parentca345ffb624ba399458eb7b2954ce2efbc381248 (diff)
downloadale-79f15b0e3050b9ca2ddd82a6712b5bfcb934cadb.zip
add redpen as text linter
Diffstat (limited to 'ale_linters/text')
-rw-r--r--ale_linters/text/redpen.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/ale_linters/text/redpen.vim b/ale_linters/text/redpen.vim
new file mode 100644
index 00000000..ec4433b9
--- /dev/null
+++ b/ale_linters/text/redpen.vim
@@ -0,0 +1,9 @@
+" Author: rhysd https://rhysd.github.io
+" Description: Redpen, a proofreading tool (http://redpen.cc)
+
+call ale#linter#Define('text', {
+\ 'name': 'redpen',
+\ 'executable': 'redpen',
+\ 'command': 'redpen -f plain -r json %t',
+\ 'callback': 'ale#handlers#redpen#HandleRedpenOutput',
+\})