Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-core/src/fuzzy.rs')
| -rw-r--r-- | helix-core/src/fuzzy.rs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/helix-core/src/fuzzy.rs b/helix-core/src/fuzzy.rs index da46518f..549c6b0e 100644 --- a/helix-core/src/fuzzy.rs +++ b/helix-core/src/fuzzy.rs @@ -1,6 +1,6 @@ use std::ops::DerefMut; -use nucleo::pattern::{Atom, AtomKind, CaseMatching, Normalization}; +use nucleo::pattern::{Atom, AtomKind, CaseMatching}; use nucleo::Config; use parking_lot::Mutex; @@ -38,12 +38,6 @@ pub fn fuzzy_match<T: AsRef<str>>( if path { matcher.config.set_match_paths(); } - let pattern = Atom::new( - pattern, - CaseMatching::Smart, - Normalization::Smart, - AtomKind::Fuzzy, - false, - ); + let pattern = Atom::new(pattern, CaseMatching::Smart, AtomKind::Fuzzy, false); pattern.match_list(items, &mut matcher) } |