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 dbg calls

Piotr Osiewiczdd6b674e7ee3
diff --git a/crates/language/src/language.rs b/crates/language/src/language.rs
index 08a377d280c..f8e25fbce1f 100644
--- a/crates/language/src/language.rs
+++ b/crates/language/src/language.rs
@@ -262,27 +262,22 @@ pub trait LspAdapter: 'static + Send + Sync {
container_dir: PathBuf,
) -> Option<LanguageServerBinary>;
- async fn process_diagnostics(&self, d: &mut lsp::PublishDiagnosticsParams) {
- dbg!(d);
- }
+ async fn process_diagnostics(&self, _: &mut lsp::PublishDiagnosticsParams) {}
- async fn process_completion(&self, d: &mut lsp::CompletionItem) {
- dbg!(d);
- }
+ async fn process_completion(&self, _: &mut lsp::CompletionItem) {}
async fn label_for_completion(
&self,
- item: &lsp::CompletionItem,
+ _: &lsp::CompletionItem,
_: &Arc<Language>,
) -> Option<CodeLabel> {
- dbg!(item);
None
}
async fn label_for_symbol(
&self,
- name: &str,
- kind: lsp::SymbolKind,
+ _: &str,
+ _: lsp::SymbolKind,
_: &Arc<Language>,
) -> Option<CodeLabel> {
None