-
Notifications
You must be signed in to change notification settings - Fork 177
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
remove completely or suppress (via a setting) the "no results" notification #154
Comments
bellini666
added a commit
to bellini666/trouble.nvim
that referenced
this issue
Feb 12, 2022
sileht
pushed a commit
to sileht/trouble.nvim
that referenced
this issue
Mar 12, 2022
Yes, it seems annoying for me too. Pls provide an option to disable this at least. |
folke
pushed a commit
that referenced
this issue
May 9, 2022
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When there are no results to display, trouble tells nvim to output a warning notification that there are "no results":
https://github.com/folke/trouble.nvim/blob/main/lua/trouble/renderer.lua#L49-L51
This doesn't seem at all necessary to me, since if there are no results, it is obvious since the window is empty. It is especially annoying to get that notification if one is using the https://github.com/rcarriga/nvim-notify plugin, since it will always pop up a "no results" warning window every time you go to a buffer that has no diagnostic problems (as long as the trouble window is visible).
If there is a good reason to keep the "no results" notification, can we please have a trouble setting where we can disable / suppress the notification if we so desire? Thank you!
The text was updated successfully, but these errors were encountered: