-
Notifications
You must be signed in to change notification settings - Fork 110
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
:messages crashes neovide, and doesn't seem to do anything in terminal? #10
Comments
for nvim: it will only show something if there are effectively any messages present. |
You can also enable debug mode, to get stack traces |
Just tested on Neovide and I get this error for
|
Thanks :D After updating the plugin, I'm now getting the same neovide error as you ( However, |
I just checked the Neovide code and I think I know what's happening. Both Noice and Neovide use the ui externalisation API. In Noice I subscribe to The Neovide error is triggered here https://github.com/neovide/neovide/blob/361c1d89f7afbb7d5e5c4a44f3f9c5a3ed3b3c16/src/bridge/handler.rs#L72 There's no handler for There shouldn't need to be, but maybe there's a Neovim bug that leaks ui ext messages to other providers or something like that. edit: there is a handler. Not sure what the problem is then :) |
Hmm, this is very interesting, and very outside my expertise.
(I'm looking at the UI events documentation, but still pretty confused). |
Hmm, I'm actually getting the same error in neovide when searching with Or when opening a file that's being concurrently edited Back to I'm gonna try adding a bunch of print statements in neovide 😆 |
I'm curious as to whether this is related to the default behavior of the override option for nvim_ui_attach:
unfortunately, it seems like |
Hmm maybe best to close this (at least for now). I created an issue in |
Not sure that option would fix it. Your best bet is Neovide since they should be able to fix it. |
@zdog234 in the meantime, everything seems to be working :) (but without |
Hi, first of all, I LOVE what I've been able to play around with so far (the command prompt).
However, whenever I call
messages
in neovide (my IDE of choice), I get a crash. Also, when calling:messages
fromnvim
in kitty, nothing happensneovide
When running neovide from the terminal to check the stderr
I get
I'm guessing neovide might not be accepting something that it should? Although I'm not even sure how to write an issue for them, because I don't know enough about nvim's internals / where they're expecting an array but should also accept a boolean
just nvim
running
:messages
innvim
in kitty, nothing happens.I'm not sure of the best way to investigate this particular issue further --
~/.cache/nvim/log
doesn't have any new logs :/Is there something I could do to try to get more verbose logs? (including somewhere in this repo's source I should try to debug (likely by dropping in print statements, b.c. I haven't tried setting up debuggers in neovim yet, and I don't even know if there's a lua debugger)
The text was updated successfully, but these errors were encountered: