commit
This commit is contained in:
@ -41,6 +41,7 @@ map("n", "<S-tab>", "<Cmd>BufferPrevious<CR>", { desc = "Previous tab" })
|
||||
map("n", "<leader>bb", dap.toggle_breakpoint, { desc = "Toggle breakpoint" })
|
||||
map("n", "<F5>", dap.step_over, { desc = "Step over" })
|
||||
map("n", "<F6>", dap.step_into, { desc = "Step into" })
|
||||
map("n", "<F7>", dap.step_out, { desc = "Step out" })
|
||||
map("n", "<F8>", dap.continue, { desc = "Continue" })
|
||||
|
||||
-- nvterm
|
||||
|
@ -30,6 +30,15 @@ return {
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
name = " Breakpoints",
|
||||
cmd = function()
|
||||
-- require("dapui").float_element("breakpoints")
|
||||
-- require("dap.ui.widgets").hover()
|
||||
require("dapui").float_element("breakpoints")
|
||||
end,
|
||||
},
|
||||
|
||||
{ name = "separator" },
|
||||
|
||||
{
|
||||
@ -44,6 +53,12 @@ return {
|
||||
rtxt = "<F6>",
|
||||
},
|
||||
|
||||
{
|
||||
name = " Step out",
|
||||
cmd = dap.step_out,
|
||||
rtxt = "<F7>",
|
||||
},
|
||||
|
||||
{
|
||||
name = " Continue",
|
||||
cmd = dap.continue,
|
||||
@ -52,6 +67,13 @@ return {
|
||||
|
||||
{ name = "separator" },
|
||||
|
||||
{
|
||||
name = " Stop",
|
||||
cmd = dap.terminate,
|
||||
},
|
||||
|
||||
{ name = "separator" },
|
||||
|
||||
{
|
||||
name = " Toggle UI",
|
||||
cmd = require("dapui").toggle,
|
||||
|
Reference in New Issue
Block a user