mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 02:37:21 +00:00
Support documentation as a resolvable property (#7306)
Closes #7288 <img width="1800" alt="Screenshot 2024-02-03 at 01 56 14" src="https://github.com/zed-industries/zed/assets/69181766/ed97ef30-c958-45c8-812c-a59bbbd02b19"> Release Notes: - Improved LSP `completionItem/resolve` request by supporting `documentation` as a resolvable property
This commit is contained in:
parent
c9a53b63a7
commit
55185c159b
1 changed files with 4 additions and 1 deletions
|
@ -560,7 +560,10 @@ impl LanguageServer {
|
|||
completion_item: Some(CompletionItemCapability {
|
||||
snippet_support: Some(true),
|
||||
resolve_support: Some(CompletionItemCapabilityResolveSupport {
|
||||
properties: vec!["additionalTextEdits".to_string()],
|
||||
properties: vec![
|
||||
"documentation".to_string(),
|
||||
"additionalTextEdits".to_string(),
|
||||
],
|
||||
}),
|
||||
..Default::default()
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue