X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/fdd63454b51a35418ec23d3489cf20ae66a2299d..4eda6b5272f7fe9b5fabb8e5c13ef4567004b865:/nvim/lua/plugins/snacks.lua diff --git a/nvim/lua/plugins/snacks.lua b/nvim/lua/plugins/snacks.lua index 1d62dd1..63e12ab 100644 --- a/nvim/lua/plugins/snacks.lua +++ b/nvim/lua/plugins/snacks.lua @@ -19,7 +19,12 @@ return { }, opts = { bigfile = { enabled = true }, - quickfile = { enabled = true }, + indent = { enabled = true }, + input = { enabled = true }, -- NOTE: seems unecessary + quickfile = { enabled = true }, -- TODO: review if needed + scope = { enabled = true }, + scroll = { enabled = false }, -- fuck this! + statuscolumn = { enabled = true }, terminal = { win = { keys = { @@ -32,9 +37,6 @@ return { }, dashboard = { preset = { - pick = function(cmd, opts) - return LazyVim.pick(cmd, opts)() - end, -- TODO: replace header header = [[ ██╗ █████╗ ██╗ ██╗███████╗██╗ ██╗██╗ ██╗██╗███╗ ███╗ Z @@ -58,5 +60,22 @@ return { }, }, }, + }, + { "folke/snacks.nvim", + opts = { + notifier = { enabled = true }, + }, + -- stylua: ignore + keys = { + -- TODO: review after picking picker (ha) + { "n", function() + if Snacks.config.picker and Snacks.config.picker.enabled then + Snacks.picker.notifications() + else + Snacks.notifier.show_history() + end + end, desc = "Notification History" }, + { "un", function() Snacks.notifier.hide() end, desc = "Dismiss All Notifications" }, + }, } }