Add a linter for alex

https://github.com/wooorm/alex

Enabled for text-like file formats and documented in README and doc.
This commit is contained in:
Johannes Wienke
2017-12-13 14:19:56 +01:00
parent 7a88a3605c
commit 55ca96bd83
15 changed files with 166 additions and 24 deletions

View File

@@ -0,0 +1,10 @@
" Author: Johannes Wienke <languitar@semipol.de>
" Description: alex for nroff files
call ale#linter#Define('nroff', {
\ 'name': 'alex',
\ 'executable': 'alex',
\ 'command': 'alex %t -t',
\ 'output_stream': 'stderr',
\ 'callback': 'ale#handlers#alex#Handle',
\})