diff options
author | Maria José Solano <majosolano99@gmail.com> | 2025-02-15 13:56:02 -0800 |
---|---|---|
committer | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2025-02-16 11:31:08 +0100 |
commit | efe92f9dff9383cf78a2d0c857448a14514c7043 (patch) | |
tree | daa4c7c94553989f2984d4cfbaff342bc1abbc7f /runtime/lua/vim/lsp/buf.lua | |
parent | a49f95d887a2425f11cb4a9b38f7b0039e4d837f (diff) | |
download | rneovim-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.lua | 2 |
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 --- |