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.

Use proper property names for inlay hint resolve capabilities

Kirill Bulatov3bfe78b1dfb0
diff --git a/crates/lsp/src/lsp.rs b/crates/lsp/src/lsp.rs
index 7cba0395528..d49dafff2f9 100644
--- a/crates/lsp/src/lsp.rs
+++ b/crates/lsp/src/lsp.rs
@@ -435,7 +435,13 @@ impl LanguageServer {
}),
inlay_hint: Some(InlayHintClientCapabilities {
resolve_support: Some(InlayHintResolveClientCapabilities {
- properties: vec!["textEdits".to_string(), "tooltip".to_string()],
+ properties: vec![
+ "textEdits".to_string(),
+ "tooltip".to_string(),
+ "label.tooltip".to_string(),
+ "label.location".to_string(),
+ "label.command".to_string(),
+ ],
}),
dynamic_registration: Some(false),
}),