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.
This commit is contained in:
2026-03-09 20:13:55 -03:00
parent fdeb5f7951
commit fb4c1a2b11
2 changed files with 1 additions and 0 deletions

View File

View File

@@ -170,6 +170,7 @@ pub struct MetaPluginConfig {
pub struct Settings { pub struct Settings {
#[serde(default)] #[serde(default)]
pub dir: PathBuf, pub dir: PathBuf,
#[serde(default)]
pub list_format: Vec<ColumnConfig>, pub list_format: Vec<ColumnConfig>,
#[serde(default)] #[serde(default)]
pub table_config: TableConfig, pub table_config: TableConfig,