diff --git a/crates/zed/Cargo.toml b/crates/zed/Cargo.toml index b29b4e5025..8fba2a302c 100644 --- a/crates/zed/Cargo.toml +++ b/crates/zed/Cargo.toml @@ -49,7 +49,7 @@ lsp_log = { path = "../lsp_log" } node_runtime = { path = "../node_runtime" } ai = { path = "../ai" } outline = { path = "../outline" } -plugin_runtime = { path = "../plugin_runtime" } +plugin_runtime = { path = "../plugin_runtime",optional = true } project = { path = "../project" } project_panel = { path = "../project_panel" } project_symbols = { path = "../project_symbols" } diff --git a/crates/zed/src/languages.rs b/crates/zed/src/languages.rs index 3ae564d13b..a27bc781b9 100644 --- a/crates/zed/src/languages.rs +++ b/crates/zed/src/languages.rs @@ -10,6 +10,7 @@ mod elixir; mod go; mod html; mod json; +#[cfg(feature = "plugin_runtime")] mod language_plugin; mod lua; mod python;