diff options
author | Canop <cano.petrole@gmail.com> | 2022-07-04 20:49:55 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2022-07-04 20:49:55 +0200 |
commit | 5666e6b9fb827c07c6c21fbe0fc60f538e1aaf60 (patch) | |
tree | c5e271b91edcde4da7dcfd8f0d9f0899ca2a16bd /src/pattern | |
parent | c688a083b46628f1a9c7a23d1765016177514be4 (diff) |
default conf is now a directory
and not just a file, thanks to imports. And it contains
skin files.
Fix #431
Fix #340
Diffstat (limited to 'src/pattern')
-rw-r--r-- | src/pattern/search_mode.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pattern/search_mode.rs b/src/pattern/search_mode.rs index 8cadc2d..d903e84 100644 --- a/src/pattern/search_mode.rs +++ b/src/pattern/search_mode.rs @@ -129,7 +129,7 @@ impl SearchModeMapEntry { let mut search_objects = Vec::new(); let s = conf_mode.to_lowercase(); - for t in s.trim().split_whitespace() { + for t in s.split_whitespace() { match t { "exact" => search_kinds.push(SearchKind::Exact), "fuzzy" => search_kinds.push(SearchKind::Fuzzy), |