summaryrefslogtreecommitdiff
path: root/ale_linters/texinfo
diff options
context:
space:
mode:
authorJohannes Wienke <languitar@semipol.de>2017-12-18 15:26:52 +0100
committerJohannes Wienke <languitar@semipol.de>2017-12-18 15:26:52 +0100
commit1e574ed5f7c9d3b6b0b3b4d209984102eba079b2 (patch)
tree39ab63b79ac95dc4e1f763eb1f0c45449c3118f8 /ale_linters/texinfo
parentfdaac9bd781baf85d04d6b3138a2b80cd7b3a25d (diff)
downloadale-1e574ed5f7c9d3b6b0b3b4d209984102eba079b2.zip
Make alex a file linter
alex does not find its configuration file when using temporary files for input.
Diffstat (limited to 'ale_linters/texinfo')
-rw-r--r--ale_linters/texinfo/alex.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/ale_linters/texinfo/alex.vim b/ale_linters/texinfo/alex.vim
index 41969fdb..4a884579 100644
--- a/ale_linters/texinfo/alex.vim
+++ b/ale_linters/texinfo/alex.vim
@@ -4,7 +4,8 @@
call ale#linter#Define('texinfo', {
\ 'name': 'alex',
\ 'executable': 'alex',
-\ 'command': 'alex %t -t',
+\ 'command': 'alex %s -t',
\ 'output_stream': 'stderr',
\ 'callback': 'ale#handlers#alex#Handle',
+\ 'lint_file': 1,
\})