From a39fbcdd35c0d00d35bd343996a46f391a68f2b7 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 26 Aug 2025 21:59:22 +0300 Subject: Fixed/changed some nvim notification/errors stuff --- .config/nvim/lua/plugins/snacks.lua | 55 +++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 27 deletions(-) (limited to '.config/nvim/lua/plugins/snacks.lua') diff --git a/.config/nvim/lua/plugins/snacks.lua b/.config/nvim/lua/plugins/snacks.lua index 1e508fd..dab8179 100644 --- a/.config/nvim/lua/plugins/snacks.lua +++ b/.config/nvim/lua/plugins/snacks.lua @@ -159,33 +159,34 @@ return { gitbrowse = {}, image = {}, input = {}, - notifier = { - ---@type snacks.notifier.style - style = 'compact', - filter = function(notif) - local exact_filter = { 'No information available', 'No code actions available' } - local contains_filter = { - 'lines', - 'fewer lines', - 'lines indented', - 'lines yanked', - 'more lines', - 'lines moved', - 'E486:', - } - for _, msg in ipairs(exact_filter) do - if notif.msg == msg then - return false - end - end - for _, msg in ipairs(contains_filter) do - if string.find(notif.msg, msg) then - return false - end - end - return true - end, - }, + -- TODO: do I need this still? + -- notifier = { + -- ---@type snacks.notifier.style + -- style = 'compact', + -- filter = function(notif) + -- local exact_filter = { 'No information available', 'No code actions available' } + -- local contains_filter = { + -- 'lines', + -- 'fewer lines', + -- 'lines indented', + -- 'lines yanked', + -- 'more lines', + -- 'lines moved', + -- 'E486:', + -- } + -- for _, msg in ipairs(exact_filter) do + -- if notif.msg == msg then + -- return false + -- end + -- end + -- for _, msg in ipairs(contains_filter) do + -- if string.find(notif.msg, msg) then + -- return false + -- end + -- end + -- return true + -- end, + -- }, picker = {}, quickfile = {}, terminal = { -- cgit v1.3.1