From 89b3731b56cef70265eb2ba143676e622e16547a Mon Sep 17 00:00:00 2001 From: Arijit Basu Date: Mon, 24 Oct 2022 09:29:06 +0530 Subject: [PATCH] Fix serialization error --- src/app.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app.rs b/src/app.rs index fddc721..a21d5af 100644 --- a/src/app.rs +++ b/src/app.rs @@ -162,7 +162,10 @@ pub struct InputBuffer { #[derive(Debug, Clone, Serialize, Deserialize)] pub struct App { pub version: String, + + #[serde(with = "serde_yaml::with::singleton_map_recursive")] pub config: Config, + pub pwd: String, pub directory_buffer: Option, pub last_focus: HashMap>,