aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript
diff options
context:
space:
mode:
authorEvgeni Chasnovski <evgeni.chasnovski@gmail.com>2026-04-25 20:03:55 +0300
committerGitHub <noreply@github.com>2026-04-25 13:03:55 -0400
commitc44df255aa095525647efaeaba2bc41ed1d538f5 (patch)
treee0ef76375f7fb7386b6f40902050e0c08b6ec37f /test/functional/vimscript
parent775c7d1b538275ccb560c4cdd806ef1db322164d (diff)
downloadrneovim-c44df255aa095525647efaeaba2bc41ed1d538f5.tar.gz
rneovim-c44df255aa095525647efaeaba2bc41ed1d538f5.tar.bz2
rneovim-c44df255aa095525647efaeaba2bc41ed1d538f5.zip
docs(vim.ui): "preview" interface for vim.ui.select() #37360
Problem: Plugins may want to have a way to show more details about items when using `vim.ui.select`. This is a fairly common problem that prompts plugin authors to implement dedicated sources/pickers for fuzzy picker plugins that are popular at the moment. Solution: Document a way for `vim.ui.select` to provide preview: - `vim.ui.select` users can provide `opts.preview_item` function that creates/uses a buffer and its contents at certain position to show more details about an item. - `vim.ui.select` implementations may use `opts.preview_item` in the way they see fit (like show the buffer in a separate/same window interactively/on-demand or do nothing) if they have a way to show more information about an item.
Diffstat (limited to 'test/functional/vimscript')
0 files changed, 0 insertions, 0 deletions