diff options
author | Canop <cano.petrole@gmail.com> | 2023-01-28 16:13:22 +0100 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2023-01-28 16:13:22 +0100 |
commit | 90cddae25d0543d613852d59b5c80cb3dadf00b1 (patch) | |
tree | 59f4f14615e7acede4fba373cd4a09bb3020bdc6 | |
parent | 700c9e8be685f8a65c6349c937bb7e9d07d4a871 (diff) |
update changelog
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | src/path/special_path.rs | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index d96898a..4b807b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ### next - preview can now be opened on directories, showing their first level - Fix #405 - new version of the nushell function. You should be prompted for an update +- "no-hide" special paths - Thanks @Avillo ### v1.19.0 - 2023-01-03 <a name="v1.19.0"></a> diff --git a/src/path/special_path.rs b/src/path/special_path.rs index a25233e..8cb06e4 100644 --- a/src/path/special_path.rs +++ b/src/path/special_path.rs @@ -40,9 +40,9 @@ impl<'de> Deserialize<'de> for SpecialHandling { match s.as_ref() { "none" => Ok(SpecialHandling::None), "enter" => Ok(SpecialHandling::Enter), - "noenter" => Ok(SpecialHandling::NoEnter), + "noenter" => Ok(SpecialHandling::NoEnter), // noenter or no-enter "hide" => Ok(SpecialHandling::Hide), - "nohide" => Ok(SpecialHandling::NoHide), + "nohide" => Ok(SpecialHandling::NoHide), // nohide or no-hide _ => Err(D::Error::custom(format!( "unrecognized special handling: {:?}", s |