mirror of
https://github.com/dense-analysis/ale.git
synced 2026-08-17 21:27:58 +08:00
Fix #1202 - Do not use --all-targets by default, because it doesn't work some of the time.
This commit is contained in:
@@ -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# ''
|
||||
|
||||
Reference in New Issue
Block a user