mfussenegger / nvim-fzy

Fuzzy picker & vim.ui.select implementation via fzy for neovim
GNU General Public License v3.0
55 stars 4 forks source link

expose popup size in `pick_one()` #14

Closed p00f closed 2 years ago

p00f commented 2 years ago

Title, for example it doesn't make sense to have a popup this wide when the choices are not as long

image

p00f commented 2 years ago

Because it takes a table, the user can pre-compute the longest choice in what they feed to pick_one()

mfussenegger commented 2 years ago

See https://github.com/mfussenegger/nvim-fzy/issues/23 - I decided to just expose the full function to be overriden.

p00f commented 2 years ago

awesome, thanks