Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Ensure compiled extensions work with older Zed versions (#33051)
Finn Eversca3f1d624ae3
diff --git a/crates/extension/src/extension_manifest.rs b/crates/extension/src/extension_manifest.rsindex 3c20fb4e56d..9439f0c2908 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<PathBuf>,#[serde(default)]pub capabilities: Vec<ExtensionCapability>,- #[serde(default)]+ #[serde(default, skip_serializing_if = "BTreeMap::is_empty")]pub debug_adapters: BTreeMap<Arc<str>, DebugAdapterManifestEntry>,- #[serde(default)]+ #[serde(default, skip_serializing_if = "BTreeMap::is_empty")]pub debug_locators: BTreeMap<Arc<str>, DebugLocatorManifestEntry>,}