summaryrefslogtreecommitdiff
path: root/helix-term/src/commands/dap.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-02-17 03:22:48 +0000
committerBlaž Hrastnik2022-02-18 05:37:59 +0000
commit7b1d682fe55cfa72c1ecf5a1763940cf105902e4 (patch)
tree3b32b7c97f362ab6ed87dac0ddf990042e791801 /helix-term/src/commands/dap.rs
parent4e1b3b12f3f5626f1ab371d99fecd23e2f5b8603 (diff)
dap: fix runInTerminal with lldb-vscode
Diffstat (limited to 'helix-term/src/commands/dap.rs')
-rw-r--r--helix-term/src/commands/dap.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/commands/dap.rs b/helix-term/src/commands/dap.rs
index 4de3134b..ae76a26a 100644
--- a/helix-term/src/commands/dap.rs
+++ b/helix-term/src/commands/dap.rs
@@ -392,13 +392,13 @@ fn debug_parameter_prompt(
Ok(call)
});
cx.jobs.callback(callback);
- } else if let Err(e) = dap_start_impl(
+ } else if let Err(err) = dap_start_impl(
cx,
Some(&config_name),
None,
Some(params.iter().map(|x| x.into()).collect()),
) {
- cx.editor.set_error(e.to_string());
+ cx.editor.set_error(err.to_string());
}
},
)