mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Better query api and fuzzy search
This commit is contained in:
parent
0e48cd0c3c
commit
c4995cfbd5
3 changed files with 47 additions and 41 deletions
|
@ -135,7 +135,7 @@ fn fuzzy_completion(acc: &mut Completions, ctx: &CompletionContext) -> Option<()
|
|||
ctx.krate?,
|
||||
Some(100),
|
||||
&potential_import_name,
|
||||
false,
|
||||
true,
|
||||
)
|
||||
.filter_map(|import_candidate| {
|
||||
Some(match import_candidate {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue