fix(which-key): don't load which-key as a noice dep
This commit is contained in:
@ -218,20 +218,17 @@ return {
|
|||||||
},
|
},
|
||||||
|
|
||||||
-- noicer ui
|
-- noicer ui
|
||||||
|
{
|
||||||
|
"folke/which-key.nvim",
|
||||||
|
opts = function(_, opts)
|
||||||
|
if require("lazyvim.util").has("noice.nvim") then
|
||||||
|
opts.defaults["<leader>sn"] = { name = "+noice" }
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"folke/noice.nvim",
|
"folke/noice.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
dependencies = {
|
|
||||||
-- which key integration
|
|
||||||
{
|
|
||||||
"folke/which-key.nvim",
|
|
||||||
opts = function(_, opts)
|
|
||||||
if require("lazyvim.util").has("noice.nvim") then
|
|
||||||
opts.defaults["<leader>sn"] = { name = "+noice" }
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
opts = {
|
opts = {
|
||||||
lsp = {
|
lsp = {
|
||||||
override = {
|
override = {
|
||||||
|
Reference in New Issue
Block a user