From f0bdbb11a34cd58669e082c248110462bd197a2d Mon Sep 17 00:00:00 2001 From: Patrick Auernig Date: Mon, 12 Feb 2024 03:40:22 +0100 Subject: [PATCH] Move noice config into submodule --- lazy-lock.json | 2 +- lua/valeth/plugins/fancy.lua | 26 -------------------------- lua/valeth/plugins/noice.lua | 19 +++++++++++++++++++ 3 files changed, 20 insertions(+), 27 deletions(-) create mode 100644 lua/valeth/plugins/noice.lua diff --git a/lazy-lock.json b/lazy-lock.json index f1a66a2..1365d0b 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -20,7 +20,7 @@ "neoconf.nvim": { "branch": "main", "commit": "f8947e998dac4213f6c7bb1c7b843cba64db22dd" }, "neodev.nvim": { "branch": "main", "commit": "a09881379ac7abddb8091c5edd292805a53ccf18" }, "neogit": { "branch": "master", "commit": "536b4cfc009fc6d8bd771f010f04d48204533fae" }, - "noice.nvim": { "branch": "main", "commit": "bf67d70bd7265d075191e7812d8eb42b9791f737" }, + "noice.nvim": { "branch": "main", "commit": "92433164e2f7118d4122c7674c3834d9511722ba" }, "nui.nvim": { "branch": "main", "commit": "35da9ca1de0fc4dda96c2e214d93d363c145f418" }, "nvim-autopairs": { "branch": "master", "commit": "096d0baecc34f6c5d8a6dd25851e9d5ad338209b" }, "nvim-cmp": { "branch": "main", "commit": "04e0ca376d6abdbfc8b52180f8ea236cbfddf782" }, diff --git a/lua/valeth/plugins/fancy.lua b/lua/valeth/plugins/fancy.lua index 3e7f200..13a1da2 100644 --- a/lua/valeth/plugins/fancy.lua +++ b/lua/valeth/plugins/fancy.lua @@ -47,30 +47,4 @@ return { "nvim-treesitter/nvim-treesitter", } }, - - { - "folke/noice.nvim", - event = "VeryLazy", - opts = {}, - keys = { - { "nd", "NoiceDismiss" }, - }, - dependencies = { - "MunifTanjim/nui.nvim", - "rcarriga/nvim-notify", - } - }, - - { - "rcarriga/nvim-notify", - config = function() - local notify = require("notify") - - notify.setup({ - top_down = false, - }) - - vim.notify = notify - end - }, } diff --git a/lua/valeth/plugins/noice.lua b/lua/valeth/plugins/noice.lua new file mode 100644 index 0000000..98b0a25 --- /dev/null +++ b/lua/valeth/plugins/noice.lua @@ -0,0 +1,19 @@ +local spec = { + "folke/noice.nvim", + tag = "v2.0.0", +} + +spec.event = "VeryLazy" + +spec.opts = {} + +spec.keys = { + { "nd", "NoiceDismiss" }, +} + +spec.dependencies = { + "MunifTanjim/nui.nvim", + { "rcarriga/nvim-notify", opts = { top_down = false } }, +} + +return spec