feat(which-key): easier integration for which-key group names

This commit is contained in:
Folke Lemaitre 2023-04-16 21:33:55 +02:00
parent 29ec138f8e
commit df94a044ec
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 18 additions and 10 deletions

View file

@ -199,6 +199,17 @@ return {
{
"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["<leader>sn"] = { name = "+noice" }
end
end,
},
},
opts = {
lsp = {
override = {