Fix spurious setting error logs on non-existent setting keys

This commit is contained in:
Max Brunsfeld 2023-05-19 17:15:05 -07:00
parent fb11c3e4bf
commit e32233c826
6 changed files with 29 additions and 26 deletions

View file

@ -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>,