mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Make term search fuel configurable
This commit is contained in:
parent
9e1adc76e5
commit
ab18604309
16 changed files with 56 additions and 9 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue