Make term search fuel configurable

This commit is contained in:
Tavo Annus 2024-05-08 18:03:38 +03:00
parent 9e1adc76e5
commit ab18604309
16 changed files with 56 additions and 9 deletions

View file

@ -232,6 +232,7 @@ pub struct DiagnosticsConfig {
pub insert_use: InsertUseConfig,
pub prefer_no_std: bool,
pub prefer_prelude: bool,
pub term_search_fuel: u64,
}
impl DiagnosticsConfig {
@ -256,6 +257,7 @@ impl DiagnosticsConfig {
},
prefer_no_std: false,
prefer_prelude: true,
term_search_fuel: 400,
}
}
}