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.

Remove a `debug_panic` from the LSP store (#54549)

Cole Miller582f6a8fd36b
diff --git a/crates/project/src/lsp_store.rs b/crates/project/src/lsp_store.rs
index f1ae73d5acb..4986912b578 100644
--- a/crates/project/src/lsp_store.rs
+++ b/crates/project/src/lsp_store.rs
@@ -3015,7 +3015,6 @@ impl LocalLspStore {
};
let Ok(file_url) = lsp::Uri::from_file_path(old_path.as_path()) else {
- debug_panic!("{old_path:?} is not parseable as an URI");
return;
};
self.unregister_buffer_from_language_servers(buffer, &file_url, cx);