diff options
author | Canop <cano.petrole@gmail.com> | 2022-09-22 23:32:35 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2022-09-22 23:34:56 +0200 |
commit | 0f5193f31eeeb9f6e721806fca8f3acde6b52da9 (patch) | |
tree | 3c8e433ba74864c220c7fa60fd2abe1f47114005 /src/conf/conf.rs | |
parent | b92b296030083e801cb54de56cfeb345ea1383ca (diff) |
allow showing only file name on path searches
Using
show_matching_characters_on_path_searches: false
Fix #490
Diffstat (limited to 'src/conf/conf.rs')
-rw-r--r-- | src/conf/conf.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf/conf.rs b/src/conf/conf.rs index 2dd0891..3be2b71 100644 --- a/src/conf/conf.rs +++ b/src/conf/conf.rs @@ -102,6 +102,8 @@ pub struct Conf { #[serde(default)] pub imports: Vec<Import>, + #[serde(alias="show-matching-characters-on-path-searches")] + pub show_matching_characters_on_path_searches: Option<bool>, } impl Conf { @@ -179,6 +181,7 @@ impl Conf { overwrite!(self, quit_on_last_cancel, conf); overwrite!(self, file_sum_threads_count, conf); overwrite!(self, max_staged_count, conf); + overwrite!(self, show_matching_characters_on_path_searches, conf); self.verbs.append(&mut conf.verbs); // the following maps are "additive": we can add entries from several // config files and they still make sense |