fix(which-key): use new which-key support for native group keymaps (nop)

This commit is contained in:
Folke Lemaitre 2024-06-06 10:46:51 +02:00
parent bac4bba016
commit 8010f50aa5
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
8 changed files with 11 additions and 69 deletions

View file

@ -49,17 +49,6 @@ return {
opts = {},
},
-- which key integration
{
"folke/which-key.nvim",
optional = true,
opts = {
defaults = {
["<leader>d"] = { name = "+debug" },
},
},
},
-- mason.nvim integration
{
"jay-babu/mason-nvim-dap.nvim",
@ -85,6 +74,7 @@ return {
-- stylua: ignore
keys = {
{ "<leader>d", "", desc = "+debug" },
{ "<leader>dB", function() require("dap").set_breakpoint(vim.fn.input('Breakpoint condition: ')) end, desc = "Breakpoint Condition" },
{ "<leader>db", function() require("dap").toggle_breakpoint() end, desc = "Toggle Breakpoint" },
{ "<leader>dc", function() require("dap").continue() end, desc = "Continue" },