From 1e574ed5f7c9d3b6b0b3b4d209984102eba079b2 Mon Sep 17 00:00:00 2001 From: Johannes Wienke Date: Mon, 18 Dec 2017 15:26:52 +0100 Subject: Make alex a file linter alex does not find its configuration file when using temporary files for input. --- ale_linters/html/alex.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ale_linters/html/alex.vim') diff --git a/ale_linters/html/alex.vim b/ale_linters/html/alex.vim index 85dc4fd6..5a1f61e9 100644 --- a/ale_linters/html/alex.vim +++ b/ale_linters/html/alex.vim @@ -4,7 +4,8 @@ call ale#linter#Define('html', { \ 'name': 'alex', \ 'executable': 'alex', -\ 'command': 'alex %t -t', +\ 'command': 'alex %s -t', \ 'output_stream': 'stderr', \ 'callback': 'ale#handlers#alex#Handle', +\ 'lint_file': 1, \}) -- cgit v1.2.3