mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
fix(lsp): add textDocument/documentLink to capability map (#28838)
(cherry picked from commit 8263ed4670
)
This commit is contained in:
committed by
Mathias Fußenegger
parent
4e9864147a
commit
4f0c4c3921
@ -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.
|
||||
|
Reference in New Issue
Block a user