summaryrefslogtreecommitdiff
path: root/ale_linters/asciidoc/alex.vim
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2017-12-18 15:28:27 +0000
committerGitHub <noreply@github.com>2017-12-18 15:28:27 +0000
commit5577d567d13ab922ee1c97fc5d17d468f4c30876 (patch)
tree39ab63b79ac95dc4e1f763eb1f0c45449c3118f8 /ale_linters/asciidoc/alex.vim
parentfdaac9bd781baf85d04d6b3138a2b80cd7b3a25d (diff)
parent1e574ed5f7c9d3b6b0b3b4d209984102eba079b2 (diff)
downloadale-5577d567d13ab922ee1c97fc5d17d468f4c30876.zip
Merge pull request #1238 from languitar/alex-from-file
Make alex a file linter
Diffstat (limited to 'ale_linters/asciidoc/alex.vim')
-rw-r--r--ale_linters/asciidoc/alex.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/ale_linters/asciidoc/alex.vim b/ale_linters/asciidoc/alex.vim
index a1e50def..79b04fc3 100644
--- a/ale_linters/asciidoc/alex.vim
+++ b/ale_linters/asciidoc/alex.vim
@@ -1,10 +1,11 @@
" Author: Johannes Wienke <languitar@semipol.de>
" Description: alex for asciidoc files
-call ale#linter#Define('asciidoc', {
+call ale#linter#Define('help', {
\ 'name': 'alex',
\ 'executable': 'alex',
-\ 'command': 'alex %t -t',
+\ 'command': 'alex %s -t',
\ 'output_stream': 'stderr',
\ 'callback': 'ale#handlers#alex#Handle',
+\ 'lint_file': 1,
\})