Merge pull request #2169 from zed-industries/improve-autocomplete

Score matches case-sensitively when query contains an uppercase char
This commit is contained in:
Antonio Scandurra 2023-02-15 13:30:05 +01:00 committed by GitHub
commit 7641965326
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -812,7 +812,7 @@ impl CompletionsMenu {
fuzzy::match_strings(
&self.match_candidates,
query,
false,
query.chars().any(|c| c.is_uppercase()),
100,
&Default::default(),
executor,