add: config dap

This commit is contained in:
asep.komarudin 2024-06-16 21:45:19 +07:00
parent 19f44f754d
commit e2fd81f115
3 changed files with 5 additions and 2 deletions

View file

@ -3,7 +3,7 @@ local M = {}
-- for debug
local debug_key = {}
if vim.fn.has("win32") == 0 then
if vim.fn.has("win32") == 0 and pcode.nvim_dap then
debug_key = {
name = "  Debug",
t = { "<cmd>lua require'dap'.toggle_breakpoint()<cr>", "Toggle Breakpoint" },