From ee2ba744a25594407a75b3094ac0124cd9f3035a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Sun, 29 Aug 2021 22:37:21 +0900 Subject: [PATCH] Rename dap_in/_out to dap_step_in/_out --- helix-term/src/commands.rs | 8 ++++---- helix-term/src/keymap.rs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index eea73e475..a91490fdb 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -309,8 +309,8 @@ impl Command { dap_run, "Begin program execution", dap_continue, "Continue program execution", dap_pause, "Pause program execution", - dap_in, "Step in", - dap_out, "Step out", + dap_step_in, "Step in", + dap_step_out, "Step out", dap_next, "Step to next", dap_variables, "List variables", dap_terminate, "End debug session", @@ -4742,7 +4742,7 @@ fn dap_pause(cx: &mut Context) { } } -fn dap_in(cx: &mut Context) { +fn dap_step_in(cx: &mut Context) { use helix_lsp::block_on; if let Some(debugger) = &mut cx.editor.debugger { @@ -4759,7 +4759,7 @@ fn dap_in(cx: &mut Context) { } } -fn dap_out(cx: &mut Context) { +fn dap_step_out(cx: &mut Context) { use helix_lsp::block_on; if let Some(debugger) = &mut cx.editor.debugger { diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs index 2aa3f9f3b..48ce923ef 100644 --- a/helix-term/src/keymap.rs +++ b/helix-term/src/keymap.rs @@ -491,8 +491,8 @@ impl Default for Keymaps { "r" => dap_run, "c" => dap_continue, "h" => dap_pause, - "j" => dap_in, - "k" => dap_out, + "j" => dap_step_in, + "k" => dap_step_out, "l" => dap_next, "v" => dap_variables, "t" => dap_terminate,