local map = require("core.utils").smap return { { "mfussenegger/nvim-dap", keys = { { "db", map("dap", "toggle_breakpoint") }, { "dc", map("dap", "continue") }, { "di", map("dap", "step_into") }, { "do", map("dap", "step_over") }, { "dO", map("dap", "step_out") }, { "dr", map("dap", "repl.toggle") }, { "dl", map("dap", "run_to_cursor") }, { "du", map("dap", "disconnect") }, { "dt", map("dap", "terminate") }, }, dependencies = { { "rcarriga/nvim-dap-ui", opts = function() require "plugins.dap.ui" end, }, { "theHamsta/nvim-dap-virtual-text", config = true }, }, config = function() vim.fn.sign_define("DapBreakpoint", { text = "", texthl = "DiagnosticSignError", linehl = "", numhl = "", }) end, }, { "andrewferrier/debugprint.nvim", config = true, keys = { "g?", { "P", map("debugprint", "debugprint", "{ variable = true }"), expr = true, }, }, }, }