You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used to have this chunk in my config for disabling the message while using nvim-notify. I want to do something similar with snacks if it is possible.
local banned_messages = { "No information available" }
vim.notify = function(msg, ...)
for _, banned in ipairs(banned_messages) do
if msg == banned then
return
end
end
return require("notify")(msg, ...)
end
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I used to have this chunk in my config for disabling the message while using nvim-notify. I want to do something similar with snacks if it is possible.
Beta Was this translation helpful? Give feedback.
All reactions