require("dap") local map = require('dln.utils').map local silent = { silent = true } vim.fn.sign_define("DapStopped", { text = "⇒", texthl = "", linehl = "debugPC", numhl = "" }) vim.fn.sign_define("DapBreakpoint", { text = "🧘", texthl = "", linehl = "debugPC", numhl = "" }) map("n", "DD", ":lua require 'dap'.toggle_breakpoint()", silent) map("n", "Dc", ":lua require 'dap'.continue()", silent) map("n", "Di", ":lua require 'dap'.step_into()", silent) map("n", "Do", ":lua require 'dap'.step_over()", silent) map("n", "DO", ":lua require 'dap'.step_out()", silent) map("n", "Dr", ":lua require 'dap'.repl.toggle({height = 5})", silent) map("n", "Dh", ":lua require 'dap.ui.widgets'.hover()", silent)