mirror of
https://github.com/neovim/neovim
synced 2025-07-20 03:02:17 +00:00
fix(docs): update context type in vim.lsp.LocationOpts.OnList
This commit is contained in:
committed by
Mathias Fußenegger
parent
a49f95d887
commit
efe92f9dff
@ -1465,7 +1465,8 @@ Lua module: vim.lsp.buf *lsp-buf*
|
|||||||
Fields: ~
|
Fields: ~
|
||||||
• {items} (`table[]`) Structured like |setqflist-what|
|
• {items} (`table[]`) Structured like |setqflist-what|
|
||||||
• {title}? (`string`) Title for the list.
|
• {title}? (`string`) Title for the list.
|
||||||
• {context}? (`table`) `ctx` from |lsp-handler|
|
• {context}? (`{ bufnr: integer, method: string }`) Subset of `ctx`
|
||||||
|
from |lsp-handler|.
|
||||||
|
|
||||||
*vim.lsp.buf.hover.Opts*
|
*vim.lsp.buf.hover.Opts*
|
||||||
Extends: |vim.lsp.util.open_floating_preview.Opts|
|
Extends: |vim.lsp.util.open_floating_preview.Opts|
|
||||||
|
@ -264,7 +264,7 @@ end
|
|||||||
--- @class vim.lsp.LocationOpts.OnList
|
--- @class vim.lsp.LocationOpts.OnList
|
||||||
--- @field items table[] Structured like |setqflist-what|
|
--- @field items table[] Structured like |setqflist-what|
|
||||||
--- @field title? string Title for the list.
|
--- @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
|
--- @class vim.lsp.LocationOpts: vim.lsp.ListOpts
|
||||||
---
|
---
|
||||||
|
Reference in New Issue
Block a user