summaryrefslogtreecommitdiff
path: root/ale_linters/text
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/text
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/text')
-rw-r--r--ale_linters/text/alex.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/ale_linters/text/alex.vim b/ale_linters/text/alex.vim
new file mode 100644
index 00000000..32d8ce2a
--- /dev/null
+++ b/ale_linters/text/alex.vim
@@ -0,0 +1,10 @@
+" Author: Johannes Wienke <languitar@semipol.de>
+" Description: alex for text files
+
+call ale#linter#Define('text', {
+\ 'name': 'alex',
+\ 'executable': 'alex',
+\ 'command': 'alex %t -t',
+\ 'output_stream': 'stderr',
+\ 'callback': 'ale#handlers#alex#Handle',
+\})