mirror of
https://github.com/neovim/neovim.git
synced 2024-12-27 14:21:31 -07:00
17 lines
451 B
Lua
17 lines
451 B
Lua
---@meta
|
|
error('Cannot require a meta file')
|
|
|
|
---@alias lsp.Handler fun(err: lsp.ResponseError?, result: any, context: lsp.HandlerContext, config?: table): ...any
|
|
|
|
---@class lsp.HandlerContext
|
|
---@field method string
|
|
---@field client_id integer
|
|
---@field bufnr? integer
|
|
---@field params? any
|
|
---@field version? integer
|
|
|
|
---@class lsp.ResponseError
|
|
---@field code integer
|
|
---@field message string
|
|
---@field data string|number|boolean|table[]|table|nil
|