Fix spurious setting error log messages (#2498)
Fixes a bug introduced in https://github.com/zed-industries/zed/pull/2448, where error messages would be logged if the user config didn't specify certain fields like `journal` or `telemetry`.
This commit is contained in:
commit
e129ed2d91
6 changed files with 29 additions and 57 deletions
|
@ -49,7 +49,7 @@ pub struct CopilotSettings {
|
|||
pub disabled_globs: Vec<GlobMatcher>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Serialize, Deserialize, JsonSchema)]
|
||||
#[derive(Clone, Default, Serialize, Deserialize, JsonSchema)]
|
||||
pub struct AllLanguageSettingsContent {
|
||||
#[serde(default)]
|
||||
pub features: Option<FeaturesContent>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue