-
Notifications
You must be signed in to change notification settings - Fork 126
Editor Crashes When There Are No Results For A Search #35
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
Comments
Hm... reproduced. Well, it is crash? I cannot reproduce the crash, but multiple error messages are reproduced. |
For me, my whole editor(Neovide) crashes. |
Please test it without neovide... |
TUI doesn't crash. |
Neovim-qt sometimes crashes on pattern not found notification with Noice enabled. Sometimes it can recover. However, by then Noice is disabled and my editor falls back to builtin methods. Content of the log fileSat Oct 8 11:35:06 2022 An error happened while handling a ui event stack overflowstack traceback: Is there any way to filter out not found message from being notified? |
For me in the TUI it doesn't crash but it does spam a bunch of nvim-notify messages to say that there is no result |
You can filter out the no result message for now by routes = {
{
filter = {
find = "Pattern not found:",
},
opts = { skip = true },
},
{
filter = {
find = "search hit %a+, continuing at %a+",
},
opts = { skip = true },
},
} |
Closing this, in favor of #17 |
Describe the bug
When searching for text that is not present in a buffer, Neovide crashes.
Which version of Neovim are you using?
Gui
To Reproduce
.1. open a file
2. search for text(
/search text
) not found in the buffer3. press Enter
4. see error
Expected Behavior
Noice/Search would say that there are zero results for the search I tried(probably in a notification).
Noice Log
Please include any related errors from the Noice log file. (open with
:Noice log
)Noice log
The text was updated successfully, but these errors were encountered: