aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/buf.lua
diff options
context:
space:
mode:
authorMaria José Solano <majosolano99@gmail.com>2025-02-15 13:56:02 -0800
committerMathias Fußenegger <mfussenegger@users.noreply.github.com>2025-02-16 11:31:08 +0100
commitefe92f9dff9383cf78a2d0c857448a14514c7043 (patch)
treedaa4c7c94553989f2984d4cfbaff342bc1abbc7f /runtime/lua/vim/lsp/buf.lua
parenta49f95d887a2425f11cb4a9b38f7b0039e4d837f (diff)
downloadrneovim-efe92f9dff9383cf78a2d0c857448a14514c7043.tar.gz
rneovim-efe92f9dff9383cf78a2d0c857448a14514c7043.tar.bz2
rneovim-efe92f9dff9383cf78a2d0c857448a14514c7043.zip
fix(docs): update context type in `vim.lsp.LocationOpts.OnList`
Diffstat (limited to 'runtime/lua/vim/lsp/buf.lua')
-rw-r--r--runtime/lua/vim/lsp/buf.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/buf.lua b/runtime/lua/vim/lsp/buf.lua
index d4a7e066f6..49e71af4f6 100644
--- a/runtime/lua/vim/lsp/buf.lua
+++ b/runtime/lua/vim/lsp/buf.lua
@@ -264,7 +264,7 @@ end
--- @class vim.lsp.LocationOpts.OnList
--- @field items table[] Structured like |setqflist-what|
--- @field title? string Title for the list.
---- @field context? table `ctx` from |lsp-handler|
+--- @field context? { bufnr: integer, method: string } Subset of `ctx` from |lsp-handler|.
--- @class vim.lsp.LocationOpts: vim.lsp.ListOpts
---