From f937b98e27b506d6addf5faf53ad0ae34a240f92 Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Sun, 22 Jul 2018 16:32:39 +0100 Subject: 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. --- ale_linters/apiblueprint/drafter.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters/apiblueprint/drafter.vim') 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', \}) -- cgit v1.2.3