Fix serialization error

This commit is contained in:
Arijit Basu 2022-10-24 09:29:06 +05:30
parent ae714e9713
commit 89b3731b56
No known key found for this signature in database
GPG Key ID: 0F8EF5258DC38077

View File

@ -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<DirectoryBuffer>,
pub last_focus: HashMap<String, Option<String>>,