aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/handlers.lua
diff options
context:
space:
mode:
authortom-anders <13141438+tom-anders@users.noreply.github.com>2024-05-04 10:02:56 +0200
committertom-anders <13141438+tom-anders@users.noreply.github.com>2024-05-07 20:20:35 +0200
commitcdc0974063fd18199040e783df5826af5786aee3 (patch)
tree423a02e249df62b296a1de4939ca1e5e43fcbfaa /runtime/lua/vim/lsp/handlers.lua
parent6ffc209a8a84c6d627dde39d27283d98a451b105 (diff)
downloadrneovim-cdc0974063fd18199040e783df5826af5786aee3.tar.gz
rneovim-cdc0974063fd18199040e783df5826af5786aee3.tar.bz2
rneovim-cdc0974063fd18199040e783df5826af5786aee3.zip
docs(lsp): fix type annotations in response_to_list(...)
Diffstat (limited to 'runtime/lua/vim/lsp/handlers.lua')
-rw-r--r--runtime/lua/vim/lsp/handlers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/handlers.lua b/runtime/lua/vim/lsp/handlers.lua
index de146ab1ef..aff98dc5cb 100644
--- 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