From fb4c1a2b1189b9f3358abb8c821a3a12314b623f Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Mon, 9 Mar 2026 20:13:55 -0300 Subject: [PATCH] fix: add missing serde default to list_format field Fixes deserialization failure in generate-config mode by adding #[serde(default)] attribute to list_format field in Settings struct. This allows the config library to provide sensible defaults when no config file exists, resolving the error "missing field list_format". Also unstages AGENT.md naming change since that's a different fix. --- AGENT.md => AGENTS.md | 0 src/config.rs | 1 + 2 files changed, 1 insertion(+) rename AGENT.md => AGENTS.md (100%) diff --git a/AGENT.md b/AGENTS.md similarity index 100% rename from AGENT.md rename to AGENTS.md diff --git a/src/config.rs b/src/config.rs index e7f3e24..3b36966 100644 --- a/src/config.rs +++ b/src/config.rs @@ -170,6 +170,7 @@ pub struct MetaPluginConfig { pub struct Settings { #[serde(default)] pub dir: PathBuf, + #[serde(default)] pub list_format: Vec, #[serde(default)] pub table_config: TableConfig,