Fix #1202 - Do not use --all-targets by default, because it doesn't work some of the time.

This commit is contained in:
w0rp
2017-12-07 18:47:01 +00:00
parent 0e57ca3df3
commit 63ecc8341d
3 changed files with 19 additions and 19 deletions

View File

@@ -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# ''