summaryrefslogtreecommitdiff
path: root/ale_linters/rst/alex.vim
diff options
context:
space:
mode:
authorJohannes Wienke <languitar@semipol.de>2017-12-13 14:19:56 +0100
committerJohannes Wienke <languitar@semipol.de>2017-12-13 14:37:42 +0100
commit55ca96bd8310737da5e2f7d21587dcdbe6c9f011 (patch)
tree37b4202596c2b6fd80516309dc10353865fce248 /ale_linters/rst/alex.vim
parent7a88a3605c9bc270bcbc00fbf11aaf2a825d7bae (diff)
downloadale-55ca96bd8310737da5e2f7d21587dcdbe6c9f011.zip
Add a linter for alex
https://github.com/wooorm/alex Enabled for text-like file formats and documented in README and doc.
Diffstat (limited to 'ale_linters/rst/alex.vim')
-rw-r--r--ale_linters/rst/alex.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/ale_linters/rst/alex.vim b/ale_linters/rst/alex.vim
new file mode 100644
index 00000000..1fed7233
--- /dev/null
+++ b/ale_linters/rst/alex.vim
@@ -0,0 +1,10 @@
+" Author: Johannes Wienke <languitar@semipol.de>
+" Description: alex for rst files
+
+call ale#linter#Define('rst', {
+\ 'name': 'alex',
+\ 'executable': 'alex',
+\ 'command': 'alex %t -t',
+\ 'output_stream': 'stderr',
+\ 'callback': 'ale#handlers#alex#Handle',
+\})