neovim: Describe DAP bindings
This commit is contained in:
parent
23cc310e6d
commit
c046141e50
1 changed files with 8 additions and 0 deletions
|
|
@ -576,48 +576,56 @@ return {
|
||||||
function()
|
function()
|
||||||
require("dap").toggle_breakpoint()
|
require("dap").toggle_breakpoint()
|
||||||
end,
|
end,
|
||||||
|
desc = "Toggle breakpoint",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"<Leader>dB",
|
"<Leader>dB",
|
||||||
function()
|
function()
|
||||||
require("dap").set_breakpoint()
|
require("dap").set_breakpoint()
|
||||||
end,
|
end,
|
||||||
|
desc = "Set breakpoint",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"<Leader>dc",
|
"<Leader>dc",
|
||||||
function()
|
function()
|
||||||
require("dap").continue()
|
require("dap").continue()
|
||||||
end,
|
end,
|
||||||
|
desc = "Continue",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"<Leader>dn",
|
"<Leader>dn",
|
||||||
function()
|
function()
|
||||||
require("dap").step_over()
|
require("dap").step_over()
|
||||||
end,
|
end,
|
||||||
|
desc = "Step over",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"<Leader>dsi",
|
"<Leader>dsi",
|
||||||
function()
|
function()
|
||||||
require("dap").step_into()
|
require("dap").step_into()
|
||||||
end,
|
end,
|
||||||
|
desc = "Step into",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"<Leader>dso",
|
"<Leader>dso",
|
||||||
function()
|
function()
|
||||||
require("dap").step_out()
|
require("dap").step_out()
|
||||||
end,
|
end,
|
||||||
|
desc = "Step out",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"<Leader>dj",
|
"<Leader>dj",
|
||||||
function()
|
function()
|
||||||
require("dap").down()
|
require("dap").down()
|
||||||
end,
|
end,
|
||||||
|
desc = "Down",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"<Leader>dk",
|
"<Leader>dk",
|
||||||
function()
|
function()
|
||||||
require("dap").up()
|
require("dap").up()
|
||||||
end,
|
end,
|
||||||
|
desc = "Up",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue