on master help sign in
Rename dap_in/_out to dap_step_in/_out
ee2ba74Blaž Hrastnik
helix-term/src/commands.rs+4−4
@@ -309,8 +309,8 @@ impl Command {
309 dap_run, "Begin program execution",
309 dap_run, "Begin program execution",
310 dap_continue, "Continue program execution",
310 dap_continue, "Continue program execution",
311 dap_pause, "Pause program execution",
311 dap_pause, "Pause program execution",
312− dap_in, "Step in",
312+ dap_step_in, "Step in",
313− dap_out, "Step out",
313+ dap_step_out, "Step out",
314 dap_next, "Step to next",
314 dap_next, "Step to next",
315 dap_variables, "List variables",
315 dap_variables, "List variables",
316 dap_terminate, "End debug session",
316 dap_terminate, "End debug session",
@@ -4742,7 +4742,7 @@ fn dap_pause(cx: &mut Context) {
4742 }
4742 }
4743}
4743}
4744
4744
4745−fn dap_in(cx: &mut Context) {
4745+fn dap_step_in(cx: &mut Context) {
4746 use helix_lsp::block_on;
4746 use helix_lsp::block_on;
4747
4747
4748 if let Some(debugger) = &mut cx.editor.debugger {
4748 if let Some(debugger) = &mut cx.editor.debugger {
@@ -4759,7 +4759,7 @@ fn dap_in(cx: &mut Context) {
4759 }
4759 }
4760}
4760}
4761
4761
4762−fn dap_out(cx: &mut Context) {
4762+fn dap_step_out(cx: &mut Context) {
4763 use helix_lsp::block_on;
4763 use helix_lsp::block_on;
4764
4764
4765 if let Some(debugger) = &mut cx.editor.debugger {
4765 if let Some(debugger) = &mut cx.editor.debugger {
helix-term/src/keymap.rs+2−2
@@ -491,8 +491,8 @@ impl Default for Keymaps {
491 "r" => dap_run,
491 "r" => dap_run,
492 "c" => dap_continue,
492 "c" => dap_continue,
493 "h" => dap_pause,
493 "h" => dap_pause,
494− "j" => dap_in,
494+ "j" => dap_step_in,
495− "k" => dap_out,
495+ "k" => dap_step_out,
496 "l" => dap_next,
496 "l" => dap_next,
497 "v" => dap_variables,
497 "v" => dap_variables,
498 "t" => dap_terminate,
498 "t" => dap_terminate,