mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
docs: improve luacats support #30580
Some composite/compound types even as basic as `(string|number)[]` are not currently supported by the luacats LPEG grammar used by gen_vimdoc. It would be parsed & rendered as just `string|number`. Changeset adds better support for these types.
This commit is contained in:
@@ -550,7 +550,7 @@ local function new_client(dispatchers, transport)
|
||||
end
|
||||
|
||||
---@class vim.lsp.rpc.PublicClient
|
||||
---@field request fun(method: string, params: table?, callback: fun(err: lsp.ResponseError|nil, result: any), notify_reply_callback: fun(integer)|nil):boolean,integer? see |vim.lsp.rpc.request()|
|
||||
---@field request fun(method: string, params: table?, callback: fun(err: lsp.ResponseError|nil, result: any), notify_reply_callback: fun(message_id: integer)|nil):boolean,integer? see |vim.lsp.rpc.request()|
|
||||
---@field notify fun(method: string, params: any):boolean see |vim.lsp.rpc.notify()|
|
||||
---@field is_closing fun(): boolean
|
||||
---@field terminate fun()
|
||||
|
Reference in New Issue
Block a user