summaryrefslogtreecommitdiff
path: root/ale_linters/rust
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-12-07 18:47:01 +0000
committerw0rp <devw0rp@gmail.com>2017-12-07 18:47:01 +0000
commit63ecc8341d308c63781e4f7f81347858777d8c89 (patch)
treeda22e771c4114dbf746f6d0664e382d7459411d5 /ale_linters/rust
parent0e57ca3df3af3f13dc4cad6ade6428b9896466c1 (diff)
downloadale-63ecc8341d308c63781e4f7f81347858777d8c89.zip
Fix #1202 - Do not use --all-targets by default, because it doesn't work some of the time.
Diffstat (limited to 'ale_linters/rust')
-rw-r--r--ale_linters/rust/cargo.vim2
1 files changed, 1 insertions, 1 deletions
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# ''