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

This commit is contained in:
Ilia Choly authored and GitHub committed 2024-05-21 18:16:53 +02:00
1 parent 7aaa4a51b7
commit 8263ed4670
1 file changed
+2
+2
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.