neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit cdc0974063fd18199040e783df5826af5786aee3
parent 6ffc209a8a84c6d627dde39d27283d98a451b105
Author: tom-anders <13141438+tom-anders@users.noreply.github.com>
Date:   Sat,  4 May 2024 10:02:56 +0200

docs(lsp): fix type annotations in response_to_list(...)

Diffstat:
Mruntime/lua/vim/lsp/handlers.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtime/lua/vim/lsp/handlers.lua b/runtime/lua/vim/lsp/handlers.lua @@ -273,7 +273,7 @@ end --- --- loclist: (boolean) use the location list (default is to use the quickfix list) --- ----@param map_result function `((resp, bufnr) -> list)` to convert the response +---@param map_result fun(resp, bufnr: integer): table to convert the response ---@param entity string name of the resource used in a `not found` error message ---@param title_fn fun(ctx: lsp.HandlerContext): string Function to call to generate list title ---@return lsp.Handler