diff --git a/lua/kickstart/plugins/debug.lua b/lua/kickstart/plugins/debug.lua index 964c31c8..0d41fb99 100644 --- a/lua/kickstart/plugins/debug.lua +++ b/lua/kickstart/plugins/debug.lua @@ -58,7 +58,10 @@ return { -- Basic debugging keymaps, feel free to change to your liking! - vim.keymap.set('n', '', dap.continue) + vim.keymap.set('n', '', function() + dap.continue() + vim.cmd.Neotree('toggle') -- this will toggle the Neo tree during debugging + end) vim.keymap.set('n', '', dap.step_into) vim.keymap.set('n', '', dap.step_over) vim.keymap.set('n', '', dap.step_out)