stevearc / dressing.nvim

Neovim plugin to improve the default vim.ui interfaces
MIT License
1.7k stars 32 forks source link

Set `ui.select` window height according to number of items #47

Closed RaafatTurki closed 1 year ago

RaafatTurki commented 1 year ago

Describe the bug The select box is taking way more space that necessary. It would be nice to have an option that sets the window height depending on how many items there are.

System information

Screenshots image

RaafatTurki commented 1 year ago

Hahah Idk how I've totally overlooked this, setting min_height = { 0, 0 } would achieve the desired behavior, sorry.