diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-04-24 11:36:39 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-04-24 11:36:39 +0300 |
| commit | 6bef8f32b19778fdfe52f0eb39719425508dcc7b (patch) | |
| tree | f293141ed7e8676b76bb06c07a0fa9472b10e2ac /.config/nvim/lua/custom/plugins/snacks.lua | |
| parent | dbd9a6fdd0c44e26b200fb706aacd120a2e09c47 (diff) | |
Refactored nvim config to make it easier and less insanely nested
Diffstat (limited to '.config/nvim/lua/custom/plugins/snacks.lua')
| -rw-r--r-- | .config/nvim/lua/custom/plugins/snacks.lua | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/.config/nvim/lua/custom/plugins/snacks.lua b/.config/nvim/lua/custom/plugins/snacks.lua deleted file mode 100644 index 50f4ff2..0000000 --- a/.config/nvim/lua/custom/plugins/snacks.lua +++ /dev/null @@ -1,45 +0,0 @@ -return { - 'folke/snacks.nvim', - priority = 1000, - lazy = false, - ---@type snacks.Config - opts = { - image = {}, - ---@class snacks.notifier.Config - 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 = { - { - '<leader>si', - function() - Snacks.image.hover() - end, - }, - { - '<leader>nd', - function() - Snacks.notifier.hide() - end, - desc = '[N]otifications [D]ismiss All', - }, - { - '<leader>nh', - function() - Snacks.notifier.show_history() - end, - desc = '[N]otifications [D]ismiss All', - }, - }, -} |
