diff --git a/lua/lazyvim/plugins/ui.lua b/lua/lazyvim/plugins/ui.lua index f11413b6..b978b028 100644 --- a/lua/lazyvim/plugins/ui.lua +++ b/lua/lazyvim/plugins/ui.lua @@ -218,20 +218,17 @@ return { }, -- noicer ui + { + "folke/which-key.nvim", + opts = function(_, opts) + if require("lazyvim.util").has("noice.nvim") then + opts.defaults["sn"] = { name = "+noice" } + end + end, + }, { "folke/noice.nvim", event = "VeryLazy", - dependencies = { - -- which key integration - { - "folke/which-key.nvim", - opts = function(_, opts) - if require("lazyvim.util").has("noice.nvim") then - opts.defaults["sn"] = { name = "+noice" } - end - end, - }, - }, opts = { lsp = { override = {