nvim_runtime_lua

vim.ui.select.Opts

@inlinedoc

Fields4

Opts.prompt : nil | string

Prompt text. (default: "Select one of:")

Opts.format_item : fun(item: any) -> string | nil
Opts.preview_item : fun(item: any) -> { buf: integer?, pos: (integer,integer)?, pos_end: (integer,integer)? } | nil
Opts.kind : nil | string

Arbitrary hint string indicating the item shape. The picker may wish to use this to infer the structure or semantics of items, or the context in which select() was called.