From 8e71f233da6c45c03c216b7fab2919d1c512c6dc Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 29 Mar 2017 00:34:03 +0100 Subject: Use the lint_file option so the Cargo linter will only be run against files on disk --- ale_linters/rust/cargo.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'ale_linters') diff --git a/ale_linters/rust/cargo.vim b/ale_linters/rust/cargo.vim index 30600cf8..84e4be74 100644 --- a/ale_linters/rust/cargo.vim +++ b/ale_linters/rust/cargo.vim @@ -27,4 +27,5 @@ call ale#linter#Define('rust', { \ 'command_callback': 'ale_linters#rust#cargo#GetCommand', \ 'callback': 'ale#handlers#rust#HandleRustErrors', \ 'output_stream': 'stdout', +\ 'lint_file': 1, \}) -- cgit v1.2.3