Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

ensure semantic search is not enabled on stable

KCaverly0b61c93a25c2
diff --git a/crates/semantic_index/src/semantic_index.rs b/crates/semantic_index/src/semantic_index.rs
index 396a0a8607d..e4a307573aa 100644
--- a/crates/semantic_index/src/semantic_index.rs
+++ b/crates/semantic_index/src/semantic_index.rs
@@ -189,6 +189,7 @@ impl SemanticIndex {
pub fn enabled(cx: &AppContext) -> bool {
settings::get::<SemanticIndexSettings>(cx).enabled
+ && *RELEASE_CHANNEL != ReleaseChannel::Stable
}
async fn new(