Skip to content

Commit 7802e6d

Browse files
committed
fix(mappings): fix deprecated method for which-key group names
1 parent 3d6d132 commit 7802e6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/recipes/mappings.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ return {
2929
end,
3030
desc = "Pick to close",
3131
},
32-
-- tables with the `name` key will be registered with which-key if it's installed
32+
-- tables with just a `desc` key will be registered with which-key if it's installed
3333
-- this is useful for naming menus
34-
["<Leader>b"] = { name = "Buffers" },
34+
["<Leader>b"] = { desc = "Buffers" },
3535
-- quick save
3636
-- ["<C-s>"] = { ":w!<cr>", desc = "Save File" }, -- change description but the same command
3737
},

0 commit comments

Comments
 (0)