Skip to content

Commit

Permalink
fix: dap config
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed May 3, 2024
1 parent a5ad7e1 commit f90111e
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions lua/plugins/debugging.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,15 @@ return {
{
'nvim-neotest/nvim-nio',
'rcarriga/nvim-dap-ui',
config = function()
vim.fn.sign_define('DapBreakpoint', { text = '🦆', texthl = '', linehl = '', numhl = '' })
require('dapui').setup()
end,
},
{
'mfussenegger/nvim-dap-python',
config = function()
require('dap-python').setup()
require('dap.ext.vscode').load_launchjs 'launch.json'
end,
},
},
config = function()
vim.fn.sign_define('DapBreakpoint', { text = '🦆', texthl = '', linehl = '', numhl = '' })
require('dapui').setup()
require('dap-python').setup()
require('dap.ext.vscode').load_launchjs 'launch.json'
end,
keys = {
{ '<leader>db', ":lua require'dap'.toggle_breakpoint()<cr>", desc = 'debug breakpoint' },
{ '<leader>dc', ": lua require'dap'.continue()<cr>", desc = 'debug' },
Expand Down

0 comments on commit f90111e

Please sign in to comment.