From 58db15c1c0a95bcb803860015868ef2f64b53f5f Mon Sep 17 00:00:00 2001 From: David Ibia Date: Sat, 2 May 2026 13:38:02 +0100 Subject: [PATCH] =?UTF-8?q?feat(nvim):=20phase=202=20=E2=80=94=20replace?= =?UTF-8?q?=20nvim-notify=20and=20dressing=20with=20snacks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enable snacks.input and snacks.notifier modules; remove the now-redundant nvim-notify and archived dressing.nvim specs. Notifier preserves the prior icons and 3000 ms timeout. --- lazy-lock.json | 2 -- lua/absolute/after/notify.lua | 25 ------------------------- lua/absolute/plugins/dressing.lua | 4 ---- lua/absolute/plugins/notify.lua | 8 -------- lua/absolute/plugins/snacks.lua | 15 ++++++++++++++- 5 files changed, 14 insertions(+), 40 deletions(-) delete mode 100644 lua/absolute/after/notify.lua delete mode 100644 lua/absolute/plugins/dressing.lua delete mode 100644 lua/absolute/plugins/notify.lua diff --git a/lazy-lock.json b/lazy-lock.json index 63eefee..40bb9d5 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -8,7 +8,6 @@ "cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" }, "cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" }, "conform.nvim": { "branch": "master", "commit": "dca1a190aa85f9065979ef35802fb77131911106" }, - "dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" }, "flash.nvim": { "branch": "main", "commit": "3c942666f115e2811e959eabbdd361a025db8b63" }, "flutter-tools.nvim": { "branch": "main", "commit": "70430c32d176f4a15c6e2c80586cd2791e3a664e" }, "friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" }, @@ -37,7 +36,6 @@ "nvim-lsp-file-operations": { "branch": "master", "commit": "b9c795d3973e8eec22706af14959bc60c579e771" }, "nvim-lspconfig": { "branch": "master", "commit": "31026a13eefb20681124706a79fc1df6bf11ab27" }, "nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" }, - "nvim-notify": { "branch": "master", "commit": "8701bece920b38ea289b457f902e2ad184131a5d" }, "nvim-silicon": { "branch": "main", "commit": "7f66bda8f60c97a5bf4b37e5b8acb0e829ae3c32" }, "nvim-surround": { "branch": "main", "commit": "ae298105122c87bbe0a36b1ad20b06d417c0433e" }, "nvim-tmux-navigation": { "branch": "main", "commit": "4898c98702954439233fdaf764c39636681e2861" }, diff --git a/lua/absolute/after/notify.lua b/lua/absolute/after/notify.lua deleted file mode 100644 index 2180d18..0000000 --- a/lua/absolute/after/notify.lua +++ /dev/null @@ -1,25 +0,0 @@ -local notify = require("notify") - -notify.setup({ - background_colour = "#000000", - fps = 15, - icons = { - DEBUG = "", - ERROR = "", - INFO = "", - TRACE = "✎", - WARN = "", - }, - level = 2, - minimum_width = 50, - render = "default", - stages = "static", - time_formats = { - notification = "%T", - notification_history = "%FT%T", - }, - timeout = 3000, - top_down = true, -}) - -vim.notify = notify diff --git a/lua/absolute/plugins/dressing.lua b/lua/absolute/plugins/dressing.lua deleted file mode 100644 index 67724e2..0000000 --- a/lua/absolute/plugins/dressing.lua +++ /dev/null @@ -1,4 +0,0 @@ -return { - "stevearc/dressing.nvim", - event = "VeryLazy" -} diff --git a/lua/absolute/plugins/notify.lua b/lua/absolute/plugins/notify.lua deleted file mode 100644 index 82b3271..0000000 --- a/lua/absolute/plugins/notify.lua +++ /dev/null @@ -1,8 +0,0 @@ -return { - "rcarriga/nvim-notify", - lazy = false, - priority = 1000, - config = function() - require("absolute.after.notify") - end, -} diff --git a/lua/absolute/plugins/snacks.lua b/lua/absolute/plugins/snacks.lua index 4d3d4fd..f80b599 100644 --- a/lua/absolute/plugins/snacks.lua +++ b/lua/absolute/plugins/snacks.lua @@ -6,7 +6,20 @@ return { opts = { bigfile = { enabled = true }, quickfile = { enabled = true }, - -- input, notifier added in Phase 2 + input = { enabled = true }, + notifier = { + enabled = true, + timeout = 3000, + style = "compact", + top_down = true, + icons = { + debug = "", + error = "", + info = "", + trace = "✎", + warn = "", + }, + }, -- picker added in Phase 3 }, }