diff --git a/lazy-lock.json b/lazy-lock.json index f4e8c04..893e77c 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -27,7 +27,7 @@ "mini.indentscope": { "branch": "main", "commit": "da9af64649e114aa79480c238fd23f6524bc0903" }, "mini.nvim": { "branch": "main", "commit": "998cfcf1fdd0a6830d0fc35f1c054a6f55de1e7f" }, "mini.surround": { "branch": "main", "commit": "48a9795c9d352c771e1ab5dedab6063c0a2df037" }, - "neo-tree.nvim": { "branch": "main", "commit": "a77af2e764c5ed4038d27d1c463fa49cd4794e07" }, + "neo-tree.nvim": { "branch": "v2.x", "commit": "a77af2e764c5ed4038d27d1c463fa49cd4794e07" }, "noice.nvim": { "branch": "main", "commit": "d9328ef903168b6f52385a751eb384ae7e906c6f" }, "nui.nvim": { "branch": "main", "commit": "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" }, "nvim-ansible": { "branch": "main", "commit": "44dabdaa8a9193b7f564a8408ed6d7107705030a" }, diff --git a/lua/config/keymaps.lua b/lua/config/keymaps.lua index 9917c59..63edd56 100644 --- a/lua/config/keymaps.lua +++ b/lua/config/keymaps.lua @@ -121,8 +121,9 @@ keymap("n", "", "DapStepOut") vim.keymap.set("n", "K", require("noice.lsp").hover, { noremap = true, silent = true }) --- local function dismiss_notifications() --- require("notify").dismiss({ silent = true, pending = true }) --- vim.cmd("noh") --- end --- vim.keymap.set("n", "", dismiss_notifications, { desc = "Dismiss notifications" }) +local function dismiss_notifications() + -- require("notify").dismiss({ silent = true, pending = true }) + Snacks.notifier.hide() + vim.cmd("noh") +end +vim.keymap.set("n", "", dismiss_notifications, { desc = "Dismiss notifications" }) diff --git a/lua/plugins/snacks.lua b/lua/plugins/snacks.lua deleted file mode 100644 index 6bf81db..0000000 --- a/lua/plugins/snacks.lua +++ /dev/null @@ -1,6 +0,0 @@ -return { - "folke/snacks.nvim", - priority = 1000, - lazy = false, - opts = { } -}