Score matches case-sensitively when query contains an uppercase char

This commit is contained in:
Antonio Scandurra 2023-02-15 13:12:45 +01:00
parent 88c6b890bc
commit 8db131a3a1

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,