Dotfiles/.config/nvim/lua/plugins/nvim-dap.lua

12 lines
457 B
Lua
Raw Permalink Normal View History

2024-03-04 14:36:33 +00:00
return {
"mfussenegger/nvim-dap",
config = function()
vim.keymap.set('n', '<leader>db', require('dap').toggle_breakpoint)
vim.keymap.set('n', '<leader>dc', require('dap').continue)
vim.keymap.set('n', '<leader>di', require('dap').step_into)
vim.keymap.set('n', '<leader>do', require('dap').step_over)
vim.keymap.set('n', '<leader>dr', require('dap').repl.open)
vim.keymap.set('n', '<leader>dx', require('dap').terminate)
end
}