mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix(docs): update context type in vim.lsp.LocationOpts.OnList
This commit is contained in:
parent
a49f95d887
commit
efe92f9dff
@ -1465,7 +1465,8 @@ Lua module: vim.lsp.buf *lsp-buf*
|
||||
Fields: ~
|
||||
• {items} (`table[]`) Structured like |setqflist-what|
|
||||
• {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*
|
||||
Extends: |vim.lsp.util.open_floating_preview.Opts|
|
||||
|
@ -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
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user