From 63ecc8341d308c63781e4f7f81347858777d8c89 Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 7 Dec 2017 18:47:01 +0000 Subject: Fix #1202 - Do not use --all-targets by default, because it doesn't work some of the time. --- ale_linters/rust/cargo.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters/rust') diff --git a/ale_linters/rust/cargo.vim b/ale_linters/rust/cargo.vim index ae26fab4..a0e123a4 100644 --- a/ale_linters/rust/cargo.vim +++ b/ale_linters/rust/cargo.vim @@ -2,7 +2,7 @@ " Description: rustc invoked by cargo for rust files call ale#Set('rust_cargo_use_check', 1) -call ale#Set('rust_cargo_check_all_targets', 1) +call ale#Set('rust_cargo_check_all_targets', 0) function! ale_linters#rust#cargo#GetCargoExecutable(bufnr) abort if ale#path#FindNearestFile(a:bufnr, 'Cargo.toml') isnot# '' -- cgit v1.2.3