-
Is it possible to filter notifications based on their contents? I am trying to stop the following error from displaying: The following filter does squash the notification but at the cost of every other notification require("noice").setup({
routes = {
{
filter = {
event = "notify",
},
opts = { skip = true },
},
},
})
while the following filter fails to stop the notification require("noice").setup({
routes = {
{
filter = {
event = "notify",
find = "nil",
},
opts = { skip = true },
},
},
}) I have tried reading through the guide to messages and all the help documentation I could find but could not find how to filter this particular notification. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
+1 |
Beta Was this translation helpful? Give feedback.
-
You can add |
Beta Was this translation helpful? Give feedback.
You can add
find = ...
to your filter