We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vim.ui.select
And my config looks like the following:
input = { -- ... }, select = { enabled = true, backend = { 'nui' }, trim_prompt = true, nui = { position = { row = 2, col = 0, }, size = false, relative = 'cursor', border = { style = 'rounded' }, buf_options = { swapfile = false, filetype = 'DressingSelect', }, win_options = { winblend = 0 }, max_width = 80, max_height = 40, min_width = 1, min_height = 1, }, },
I'm using the following command as an example:
:lua vim.ui.select({'a', 'b'}, {}, function(i) print(i) end)
When running the above command for the first time, I get what I would expect: Now let's modify the command a bit.
:lua vim.ui.select({'a', 'bbbbbbbbbbbbbbbbbb', 'c'}, {}, function(i) print(i) end)
Now I get this: The popup didn't adapt to the new content.
Any idea if that's a bug, or a misconception on my side?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
vim.ui.select
And my config looks like the following:
I'm using the following command as an example:
When running the above command for the first time, I get what I would expect:
Now let's modify the command a bit.
Now I get this:
The popup didn't adapt to the new content.
Any idea if that's a bug, or a misconception on my side?
The text was updated successfully, but these errors were encountered: