mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
fix(lsp): support multiple clients in typehierarchy
This commit is contained in:
committed by
Lewis Russell
parent
4c25e60767
commit
629a5b71b5
@@ -20,7 +20,8 @@ local M = {}
|
||||
--- end)
|
||||
--- ```
|
||||
---
|
||||
---@param items any[] Arbitrary items
|
||||
---@generic T
|
||||
---@param items T[] Arbitrary items
|
||||
---@param opts table Additional options
|
||||
--- - prompt (string|nil)
|
||||
--- Text of the prompt. Defaults to `Select one of:`
|
||||
@@ -32,7 +33,7 @@ local M = {}
|
||||
--- Plugins reimplementing `vim.ui.select` may wish to
|
||||
--- use this to infer the structure or semantics of
|
||||
--- `items`, or the context in which select() was called.
|
||||
---@param on_choice fun(item: any|nil, idx: integer|nil)
|
||||
---@param on_choice fun(item: T|nil, idx: integer|nil)
|
||||
--- Called once the user made a choice.
|
||||
--- `idx` is the 1-based index of `item` within `items`.
|
||||
--- `nil` if the user aborted the dialog.
|
||||
|
||||
Reference in New Issue
Block a user