From 6c21d8c1c398a713e1dbd3798faaf141520d8f64 Mon Sep 17 00:00:00 2001 From: doryan Date: Tue, 22 Oct 2024 01:46:35 +0400 Subject: [PATCH] =?UTF-8?q?=D1=83=20=D0=BC=D0=B5=D0=BD=D1=8F=20=D0=BD?= =?UTF-8?q?=D0=B5=D1=82=20=D0=B1=D0=BE=D0=BB=D1=8C=D1=88=D0=B5=20=D1=81?= =?UTF-8?q?=D0=B8=D0=BB=20=D1=8D=D1=82=D0=BE=20=D0=B3=D0=BE=D0=B2=D0=BD?= =?UTF-8?q?=D0=BE=20=D1=87=D0=B8=D0=BD=D0=B8=D1=82=D1=8C,=20=D0=BF=D0=BE?= =?UTF-8?q?=D1=8D=D1=82=D0=BE=D0=BC=D1=83=20=D0=B2=D1=8B=D0=BF=D0=B8=D0=BB?= =?UTF-8?q?=D0=B8=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lvim/config.lua | 1 - lvim/lua/configs/notify.lua | 40 ------------------------------------- lvim/lua/plugins/init.lua | 4 ---- 3 files changed, 45 deletions(-) delete mode 100644 lvim/lua/configs/notify.lua diff --git a/lvim/config.lua b/lvim/config.lua index ca71047..ecde990 100644 --- a/lvim/config.lua +++ b/lvim/config.lua @@ -22,4 +22,3 @@ require "configs.colorizer" require "configs.autotag" require "configs.prettier" require "configs.nvimufo" -require "configs.notify" diff --git a/lvim/lua/configs/notify.lua b/lvim/lua/configs/notify.lua deleted file mode 100644 index 399ea8f..0000000 --- a/lvim/lua/configs/notify.lua +++ /dev/null @@ -1,40 +0,0 @@ -local BUILTIN_STAGES = { - FADE = "fade", - SLIDE = "slide", - FADE_IN_SLIDE_OUT = "fade_in_slide_out", - STATIC = "static", -} - -require("notify").setup({ - level = vim.log.levels.TRACE, - timeout = 5000, - max_height = function() - return math.floor(vim.o.lines * 0.75) - end, - max_width = function() - return math.floor(vim.o.columns * 0.75) - end, - on_open = function(win) - vim.api.nvim_win_set_config(win, { zindex = 100 }) - end, - stages = BUILTIN_STAGES.SLIDE, - render = "default", - background_colour = "NotifyBackground", - on_close = function () end, - minimum_width = 50, - fps = 10, - top_down = true, - time_formats = { - notification_history = "%FT%T", - notification = "%T", - }, - icons = { - ERROR = " ", - WARN = "", - INFO = "", - DEBUG = " ", - TRACE = "✎ ", - }, -}) - -require("notify")("You're welcome!") diff --git a/lvim/lua/plugins/init.lua b/lvim/lua/plugins/init.lua index 46196b8..9cbd525 100644 --- a/lvim/lua/plugins/init.lua +++ b/lvim/lua/plugins/init.lua @@ -252,9 +252,6 @@ lvim.plugins = { { "tanvirtin/monokai.nvim" }, - { - "rcarriga/nvim-notify", - }, { "folke/noice.nvim", event = "VeryLazy", @@ -275,7 +272,6 @@ lvim.plugins = { -- OPTIONAL: -- `nvim-notify` is only needed, if you want to use the notification view. -- If not available, we use `mini` as the fallback - "rcarriga/nvim-notify", } }, }