Make alex a file linter

alex does not find its configuration file when using temporary files for
input.
This commit is contained in:
Johannes Wienke
2017-12-18 15:26:52 +01:00
parent fdaac9bd78
commit 1e574ed5f7
14 changed files with 49 additions and 37 deletions

View File

@@ -4,7 +4,8 @@
call ale#linter#Define('pod', {
\ 'name': 'alex',
\ 'executable': 'alex',
\ 'command': 'alex %t -t',
\ 'command': 'alex %s -t',
\ 'output_stream': 'stderr',
\ 'callback': 'ale#handlers#alex#Handle',
\ 'lint_file': 1,
\})