diff options
author | Kyle Fuller <kyle@fuller.li> | 2018-07-22 16:32:39 +0100 |
---|---|---|
committer | Kyle Fuller <kyle@fuller.li> | 2018-07-22 16:32:39 +0100 |
commit | f937b98e27b506d6addf5faf53ad0ae34a240f92 (patch) | |
tree | 5c27d3071521f124cfd46cd6c5499841c6caa25e /ale_linters/apiblueprint/drafter.vim | |
parent | 04fbea6e80e010ffc242cc13daed6279f5d5aadf (diff) | |
download | ale-f937b98e27b506d6addf5faf53ad0ae34a240f92.zip |
Make drafter linter use stdin instead of writing to tmp file
Writing to a tmp file is unnecessary as drafter will use stdin if a path
is not provided.
Diffstat (limited to 'ale_linters/apiblueprint/drafter.vim')
-rw-r--r-- | ale_linters/apiblueprint/drafter.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/apiblueprint/drafter.vim b/ale_linters/apiblueprint/drafter.vim index 9cded359..198709f9 100644 --- a/ale_linters/apiblueprint/drafter.vim +++ b/ale_linters/apiblueprint/drafter.vim @@ -31,6 +31,6 @@ call ale#linter#Define('apiblueprint', { \ 'name': 'drafter', \ 'output_stream': 'stderr', \ 'executable': 'drafter', -\ 'command': 'drafter --use-line-num --validate %t', +\ 'command': 'drafter --use-line-num --validate', \ 'callback': 'ale_linters#apiblueprint#drafter#HandleErrors', \}) |