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