diff --git a/crates/extension/src/extension_manifest.rs b/crates/extension/src/extension_manifest.rs index 3c20fb4e56..9439f0c290 100644 --- a/crates/extension/src/extension_manifest.rs +++ b/crates/extension/src/extension_manifest.rs @@ -87,9 +87,9 @@ pub struct ExtensionManifest { pub snippets: Option, #[serde(default)] pub capabilities: Vec, - #[serde(default)] + #[serde(default, skip_serializing_if = "BTreeMap::is_empty")] pub debug_adapters: BTreeMap, DebugAdapterManifestEntry>, - #[serde(default)] + #[serde(default, skip_serializing_if = "BTreeMap::is_empty")] pub debug_locators: BTreeMap, DebugLocatorManifestEntry>, }