-
Notifications
You must be signed in to change notification settings - Fork 94
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.view
overwrites cmdline.format.search_down.view
~50% of the time.
#841
Comments
Yes I can confirm this issue also appears on macOS 14.5 with NVIM v0.10.0 (LuaJIT 2.1.1716656478). |
Is this related to the change of noice.nvim/lua/noice/config/cmdline.lua Line 42 in 29c7f03
|
Might be! Would be great f you could check it's fixed with passing noref = true and make a PR if that fixes it. |
I found the issue. It only happens for format = {
search_down = {
view = "cmdline",
},
search_up = {
view = "cmdline",
},
}, Reason is that for search, the message kind is for both just Will see to make a proper fix |
works fine now, thank you! |
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.0
Operating system/version
macOS 14.4.1 (arm)
Describe the bug
So this is a weird one.
This config results in the
/
search sometimes using the cmdline, and sometimes using thecmdline_popup
. Happens about every other time.And with this config, the search always uses the cmdline.
My assumption is that
cmdline.view
apparently overwritescmdline.format.search_down.view
based on a certain race condition?Also, the problem does not seem to occur for
cmdline.format.cmdline.view
and the others. (Though I haven't tried every possible permutation).Steps To Reproduce
/
Repeat 2. and 3. multiple times; the view used is not consistent.
Expected Behavior
The
cmdline.format.search_down.view
setting should work, consistently.Repro
The text was updated successfully, but these errors were encountered: