return { 'folke/snacks.nvim', priority = 1000, lazy = false, ---@type snacks.Config opts = { bigfile = {}, gitbrowse = {}, image = {}, indent = { scope = { enabled = false }, }, notifier = { ---@type snacks.notifier.style style = 'compact', filter = function(notif) local filtered_messages = { 'No information available', 'No code actions available' } for _, msg in ipairs(filtered_messages) do if notif.msg == msg then return false end end return true end, }, }, keys = { { 'go', function() Snacks.gitbrowse.open() end, desc = '[G]it [O]pen', }, { 'gc', function() Snacks.gitbrowse.open({ open = function(url) vim.fn.setreg('+', url) end, }) end, desc = '[G]it [O]pen', }, { 'si', function() Snacks.image.hover() end, desc = '[S]how [I]mage', }, { 'nd', function() Snacks.notifier.hide() end, desc = '[N]otification [D]ismiss All', }, { 'nh', function() Snacks.notifier.show_history() end, desc = '[N]otification [H]istory', }, }, }