feat(lsp): do completionItem/resolve if completeopt=popup #32820

Problem:
No completionItem/resolve handler.

Solution:
If completeopt=popup is set, invoke completionItem/resolve when
a completion item is selected. Show resolved documentation in popup next
to the completion menu.
This commit is contained in:
glepnir
2026-03-11 17:48:31 +08:00
committed by GitHub
parent a2f01953b8
commit 63594ffa04
3 changed files with 298 additions and 24 deletions

View File

@@ -482,6 +482,7 @@ function protocol.make_client_capabilities()
properties = {
'additionalTextEdits',
'command',
'documentation',
},
},
tagSupport = {