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