From eb54412ef35375704d47fd4ea9ab9595bdd63648 Mon Sep 17 00:00:00 2001 From: Zynh0722 Date: Fri, 12 May 2023 18:16:40 -0700 Subject: [PATCH] removed duplicates of default config --- lua/plugins/notify.lua | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/lua/plugins/notify.lua b/lua/plugins/notify.lua index 21622e8..bf486e6 100644 --- a/lua/plugins/notify.lua +++ b/lua/plugins/notify.lua @@ -1,37 +1,10 @@ return { { "rcarriga/nvim-notify", - keys = { - { - "un", - function() - require("notify").dismiss({ silent = true, pending = true }) - end, - desc = "Dismiss 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, - }, config = function() require("notify").setup({ background_colour = "#191724", }) end, - init = function() - -- when noice is not enabled, install notify on VeryLazy - local Util = require("lazyvim.util") - if not Util.has("noice.nvim") then - Util.on_very_lazy(function() - vim.notify = require("notify") - end) - end - end, }, }