aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r--helix-term/src/commands.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 9a978c4c..1871c67e 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -2571,8 +2571,7 @@ mod cmd {
0 => None,
_ => Some(args.remove(0)),
};
- dap_start_impl(&mut cx.editor, name, None, Some(args));
- Ok(())
+ dap_start_impl(cx, name, None, Some(args))
}
fn debug_remote(
@@ -2589,9 +2588,7 @@ mod cmd {
0 => None,
_ => Some(args.remove(0)),
};
- dap_start_impl(&mut cx.editor, name, address, Some(args));
-
- Ok(())
+ dap_start_impl(cx, name, address, Some(args))
}
fn tutor(