summaryrefslogtreecommitdiff
path: root/ale_linters/apiblueprint/drafter.vim
diff options
context:
space:
mode:
authorKyle Fuller <kyle@fuller.li>2018-07-22 16:32:39 +0100
committerKyle Fuller <kyle@fuller.li>2018-07-22 16:32:39 +0100
commitf937b98e27b506d6addf5faf53ad0ae34a240f92 (patch)
tree5c27d3071521f124cfd46cd6c5499841c6caa25e /ale_linters/apiblueprint/drafter.vim
parent04fbea6e80e010ffc242cc13daed6279f5d5aadf (diff)
downloadale-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.vim2
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',
\})