mirror of
https://github.com/neovim/neovim.git
synced 2026-06-06 12:04:15 +00:00
fix(lsp): improve dynamic registration handling #37161
Work on #37166 - Dynamic Registration Tracking via Provider - Supports_Method - Multiple Registrations - RegistrationOptions may dictate support for a method
This commit is contained in:
@@ -35,13 +35,6 @@ local changetracking = lsp._changetracking
|
||||
---@nodoc
|
||||
lsp.rpc_response_error = lsp.rpc.rpc_response_error
|
||||
|
||||
lsp._resolve_to_request = {
|
||||
['codeAction/resolve'] = 'textDocument/codeAction',
|
||||
['codeLens/resolve'] = 'textDocument/codeLens',
|
||||
['documentLink/resolve'] = 'textDocument/documentLink',
|
||||
['inlayHint/resolve'] = 'textDocument/inlayHint',
|
||||
}
|
||||
|
||||
-- TODO improve handling of scratch buffers with LSP attached.
|
||||
|
||||
--- Called by the client when trying to call a method that's not
|
||||
|
||||
Reference in New Issue
Block a user