mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 19:36:40 +00:00
fix(lsp): typos in method names #36077
This commit is contained in:
@@ -615,7 +615,7 @@ local static_registration_capabilities = {
|
||||
['textDocument/linkedEditingRange'] = 'linkedEditingRangeProvider',
|
||||
['textDocument/moniker'] = 'monikerProvider',
|
||||
['textDocument/selectionRange'] = 'selectionRangeProvider',
|
||||
['textDocument_semanticTokens/full'] = 'semanticTokensProvider',
|
||||
['textDocument/semanticTokens/full'] = 'semanticTokensProvider',
|
||||
['textDocument/typeDefinition'] = 'typeDefinitionProvider',
|
||||
['textDocument/prepareTypeHierarchy'] = 'typeHierarchyProvider',
|
||||
}
|
||||
|
@@ -650,12 +650,12 @@ RSC['window/showDocument'] = function(_, params, ctx)
|
||||
end
|
||||
|
||||
---@see https://microsoft.github.io/language-server-protocol/specification/#workspace_inlayHint_refresh
|
||||
RSC['workspace_inlayHint/refresh'] = function(err, result, ctx)
|
||||
RSC['workspace/inlayHint/refresh'] = function(err, result, ctx)
|
||||
return vim.lsp.inlay_hint.on_refresh(err, result, ctx)
|
||||
end
|
||||
|
||||
---@see https://microsoft.github.io/language-server-protocol/specifications/specification-current/#semanticTokens_refreshRequest
|
||||
RSC['workspace_semanticTokens/refresh'] = function(err, result, ctx)
|
||||
RSC['workspace/semanticTokens/refresh'] = function(err, result, ctx)
|
||||
return vim.lsp.semantic_tokens._refresh(err, result, ctx)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user