mirror of
https://github.com/neovim/neovim.git
synced 2025-10-10 03:46:31 +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/linkedEditingRange'] = 'linkedEditingRangeProvider',
|
||||||
['textDocument/moniker'] = 'monikerProvider',
|
['textDocument/moniker'] = 'monikerProvider',
|
||||||
['textDocument/selectionRange'] = 'selectionRangeProvider',
|
['textDocument/selectionRange'] = 'selectionRangeProvider',
|
||||||
['textDocument_semanticTokens/full'] = 'semanticTokensProvider',
|
['textDocument/semanticTokens/full'] = 'semanticTokensProvider',
|
||||||
['textDocument/typeDefinition'] = 'typeDefinitionProvider',
|
['textDocument/typeDefinition'] = 'typeDefinitionProvider',
|
||||||
['textDocument/prepareTypeHierarchy'] = 'typeHierarchyProvider',
|
['textDocument/prepareTypeHierarchy'] = 'typeHierarchyProvider',
|
||||||
}
|
}
|
||||||
|
@@ -650,12 +650,12 @@ RSC['window/showDocument'] = function(_, params, ctx)
|
|||||||
end
|
end
|
||||||
|
|
||||||
---@see https://microsoft.github.io/language-server-protocol/specification/#workspace_inlayHint_refresh
|
---@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)
|
return vim.lsp.inlay_hint.on_refresh(err, result, ctx)
|
||||||
end
|
end
|
||||||
|
|
||||||
---@see https://microsoft.github.io/language-server-protocol/specifications/specification-current/#semanticTokens_refreshRequest
|
---@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)
|
return vim.lsp.semantic_tokens._refresh(err, result, ctx)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user