mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Respect casing when searching for imports
This commit is contained in:
parent
ed2817e599
commit
7e83ed99a8
3 changed files with 81 additions and 6 deletions
|
@ -107,7 +107,7 @@ impl Crate {
|
|||
import_map::search_dependencies(
|
||||
db,
|
||||
self.into(),
|
||||
import_map::Query::new(query).anchor_end().limit(40),
|
||||
import_map::Query::new(query).anchor_end().case_sensitive().limit(40),
|
||||
)
|
||||
.into_iter()
|
||||
.map(|item| match item {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue