-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
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
bug: cmdline_popup
view is not compatible with mini.align plugin
#346
Comments
I've figured out the reason, I need to set Thanks for providing such a great plugin! |
Sorry, I still found some problems, and I've to reopen this. If I don't set Example from noice.config.views hover = {
view = "popup",
relative = "cursor",
zindex = 45,
enter = false,
anchor = "auto",
size = { -- important
width = "auto",
height = "auto",
max_height = 20,
max_width = 120,
},
border = {
style = "rounded",
padding = { 0, 1 },
},
position = { row = 1, col = 0 },
win_options = {
wrap = true,
linebreak = false,
},
}, But if I use a fixed size, it can't display the entered text in real time. For example, use the following code to replace the size part. size = {
width = 60,
height = "auto"
} Is it possible to display the entered text in real time even at a fixed size? |
This should be fixed now. Let me know if the problem would still perssist with the latest version! |
Tried with the latest version, and it's working Once, it stopped typing characters once I entered a couple, but I'm hoping that was a one-off thing. Will update here if I see an issue |
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.8.2
Operating system/version
MacOS 13.2
Describe the bug
I use mini.align plugin to align my code, but it does not display the characters when I enter the
Split Pattern
(mini.align) viacmdline_popup
view. However, it works if I usehover
view.We can see it in the following video.
Noice.mov
Steps To Reproduce
Shown in the above video.
Expected Behavior
I can see the entered text in real time for
cmdline_popup
view, just like in thehover
view.Repro
No response
The text was updated successfully, but these errors were encountered: