diff --git a/.gitmodules b/.gitmodules index e84d4f2..7823af1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -96,9 +96,6 @@ # debug adapter protocol # debugging.lua -[submodule "nvim-dap"] - path = nvim-dap - url = https://github.com/mfussenegger/nvim-dap.git [submodule "src/.local/share/nvim/site/pack/3pp/start/nvim-dap"] path = src/.local/share/nvim/site/pack/3pp/start/nvim-dap url = https://github.com/mfussenegger/nvim-dap.git diff --git a/src/.config/nvim/lua/debugging.lua b/src/.config/nvim/lua/debugging.lua index 1606d5b..c227030 100644 --- a/src/.config/nvim/lua/debugging.lua +++ b/src/.config/nvim/lua/debugging.lua @@ -26,8 +26,9 @@ keymap("rt", function() dap.continue() end) keymap("rr", dap.terminate) -keymap("", dap.step_into) +keymap("", dap.step_into) keymap("", dap.step_over) +keymap("", dap.run_to_cursor) keymap("", dap.step_out) keymap("dsf", dap.toggle_breakpoint) keymap("dsc", dap.clear_breakpoints)