diff --git a/config/src/pattern.rs b/config/src/pattern.rs index e4930dd9..205707e0 100644 --- a/config/src/pattern.rs +++ b/config/src/pattern.rs @@ -17,7 +17,7 @@ impl Pattern { pub fn matches(&self, str: impl AsRef) -> bool { self.inner.matches_with(str.as_ref(), MatchOptions { case_sensitive: self.sensitive, - require_literal_separator: false, + require_literal_separator: self.full_path, require_literal_leading_dot: false, }) } diff --git a/core/Cargo.toml b/core/Cargo.toml index 4b14eac6..fb33d85b 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -24,10 +24,12 @@ serde_json = "^1" syntect = "^5" tokio = { version = "^1", features = [ "parking_lot", "macros", "rt-multi-thread", "sync", "time", "fs", "process", "io-std", "io-util" ] } tokio-stream = "^0" -tracing = "^0" trash = "^3" unicode-width = "^0" yazi-prebuild = "^0" +# Logging +tracing = "^0" + [target.'cfg(target_os = "windows")'.dependencies] clipboard-win = "^4"