Strip off inlay hints data that should be resolved

This commit is contained in:
Kirill Bulatov 2023-08-14 22:42:22 +03:00
parent 5ce7ccac32
commit 27bf01c3a8
2 changed files with 14 additions and 46 deletions

View file

@ -434,7 +434,9 @@ impl LanguageServer {
..Default::default()
}),
inlay_hint: Some(InlayHintClientCapabilities {
resolve_support: None,
resolve_support: Some(InlayHintResolveClientCapabilities {
properties: vec!["textEdits".to_string(), "tooltip".to_string()],
}),
dynamic_registration: Some(false),
}),
..Default::default()