fix(lsp): add textDocument/documentLink to capability map (#28838)

This commit is contained in:
Ilia Choly 2024-05-21 12:16:53 -04:00 committed by GitHub
parent 7aaa4a51b7
commit 8263ed4670
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,6 +64,8 @@ lsp._request_name_to_capability = {
[ms.textDocument_inlayHint] = { 'inlayHintProvider' },
[ms.textDocument_diagnostic] = { 'diagnosticProvider' },
[ms.inlayHint_resolve] = { 'inlayHintProvider', 'resolveProvider' },
[ms.textDocument_documentLink] = { 'documentLinkProvider' },
[ms.documentLink_resolve] = { 'documentLinkProvider', 'resolveProvider' },
}
-- TODO improve handling of scratch buffers with LSP attached.