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:10:44 +0200
committertom-anders <13141438+tom-anders@users.noreply.github.com>2024-05-07 21:27:21 +0200
commitb0cc85c00504dc5530ab5d6c5fa03f3fa96d5a1a (patch)
tree343f0201c338ed04bb4f7883ae09bda2385518a5 /runtime/lua/vim/lsp/handlers.lua
parent80d108eeee89c095e0c1226a558a690a708abaa1 (diff)
downloadrneovim-b0cc85c00504dc5530ab5d6c5fa03f3fa96d5a1a.tar.gz
rneovim-b0cc85c00504dc5530ab5d6c5fa03f3fa96d5a1a.tar.bz2
rneovim-b0cc85c00504dc5530ab5d6c5fa03f3fa96d5a1a.zip
docs(lsp): document vim.lsp.ListOpts.loclist
Diffstat (limited to 'runtime/lua/vim/lsp/handlers.lua')
-rw-r--r--runtime/lua/vim/lsp/handlers.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/runtime/lua/vim/lsp/handlers.lua b/runtime/lua/vim/lsp/handlers.lua
index c639a317cf..205de68101 100644
--- a/runtime/lua/vim/lsp/handlers.lua
+++ b/runtime/lua/vim/lsp/handlers.lua
@@ -268,10 +268,7 @@ end
--- Return a function that converts LSP responses to list items and opens the list
---
---- The returned function has an optional {config} parameter that accepts a table
---- with the following keys:
----
---- loclist: (boolean) use the location list (default is to use the quickfix list)
+--- The returned function has an optional {config} parameter that accepts |vim.lsp.ListOpts|
---
---@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