diff --git a/lua/pcode/plugins/notify.lua b/lua/pcode/plugins/notify.lua index 183a8e9..639d0de 100644 --- a/lua/pcode/plugins/notify.lua +++ b/lua/pcode/plugins/notify.lua @@ -1,30 +1,30 @@ return { - "rcarriga/nvim-notify", - lazy = true, - event = "VeryLazy", - keys = { - { - "un", - function() - require("notify").dismiss({ silent = true, pending = true }) - end, - desc = "Delete all Notifications", - }, - }, - opts = { - timeout = 3000, - max_height = function() - return math.floor(vim.o.lines * 0.75) - end, - max_width = function() - return math.floor(vim.o.columns * 0.75) - end, - render = "wrapped-compact", - -- background_colour = "#00000000", - }, - config = function(_, opts) - local notify = require("notify") - notify.setup(opts) - vim.notify = notify.notify - end, + "rcarriga/nvim-notify", + lazy = true, + event = "VeryLazy", + keys = { + { + "uN", + function() + require("notify").dismiss({ silent = true, pending = true }) + end, + desc = "Delete all Notifications", + }, + }, + opts = { + timeout = 3000, + max_height = function() + return math.floor(vim.o.lines * 0.75) + end, + max_width = function() + return math.floor(vim.o.columns * 0.75) + end, + render = "wrapped-compact", + -- background_colour = "#00000000", + }, + config = function(_, opts) + local notify = require("notify") + notify.setup(opts) + vim.notify = notify.notify + end, }