mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
feat(lsp): more annotations
This commit is contained in:

committed by
Lewis Russell

parent
320e9c1c21
commit
97bea3163a
@@ -891,7 +891,7 @@ end
|
||||
|
||||
--- Creates a normalized object describing LSP server capabilities.
|
||||
---@param server_capabilities table Table of capabilities supported by the server
|
||||
---@return table|nil Normalized table of capabilities
|
||||
---@return lsp.ServerCapabilities|nil Normalized table of capabilities
|
||||
function protocol.resolve_capabilities(server_capabilities)
|
||||
local TextDocumentSyncKind = protocol.TextDocumentSyncKind
|
||||
local textDocumentSync = server_capabilities.textDocumentSync
|
||||
|
Reference in New Issue
Block a user