on master help sign in
Rename dap_in/_out to dap_step_in/_out
commitee2ba744a25594407a75b3094ac0124cd9f3035a authorBlaž Hrastnik <blaz@mxxn.io> dateSun 29 Aug 2021, 22:37 (5 years ago) parent2a7e38a
2 files changed+6−6
helix-term/src/commands.rs+4−4 helix-term/src/keymap.rs+2−2
helix-term/src/commands.rs+4−4
@@ -309,8 +309,8 @@ impl Command {
309309 dap_run, "Begin program execution",
310310 dap_continue, "Continue program execution",
311311 dap_pause, "Pause program execution",
312− dap_in, "Step in",
313− dap_out, "Step out",
312+ dap_step_in, "Step in",
313+ dap_step_out, "Step out",
314314 dap_next, "Step to next",
315315 dap_variables, "List variables",
316316 dap_terminate, "End debug session",
@@ -4742,7 +4742,7 @@ fn dap_pause(cx: &mut Context) {
47424742 }
47434743}
47444744
4745−fn dap_in(cx: &mut Context) {
4745+fn dap_step_in(cx: &mut Context) {
47464746 use helix_lsp::block_on;
47474747
47484748 if let Some(debugger) = &mut cx.editor.debugger {
@@ -4759,7 +4759,7 @@ fn dap_in(cx: &mut Context) {
47594759 }
47604760}
47614761
4762−fn dap_out(cx: &mut Context) {
4762+fn dap_step_out(cx: &mut Context) {
47634763 use helix_lsp::block_on;
47644764
47654765 if let Some(debugger) = &mut cx.editor.debugger {
helix-term/src/keymap.rs+2−2
@@ -491,8 +491,8 @@ impl Default for Keymaps {
491491 "r" => dap_run,
492492 "c" => dap_continue,
493493 "h" => dap_pause,
494− "j" => dap_in,
495− "k" => dap_out,
494+ "j" => dap_step_in,
495+ "k" => dap_step_out,
496496 "l" => dap_next,
497497 "v" => dap_variables,
498498 "t" => dap_terminate,