summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-12-01 10:28:29 +0000
committerBlaž Hrastnik2021-12-01 10:28:29 +0000
commitffc89e483be1bc0cc20cdd19eb38dec6bf421c1a (patch)
treebd7bf114883b059c140879b2a00133c7bb7be94f
parentdfd499f5a98de9d7c9e8fa977016e6f3bec1ec70 (diff)
Mark some more TODOs as resolved
-rw-r--r--helix-term/src/commands/dap.rs1
-rw-r--r--helix-view/src/gutter.rs1
2 files changed, 0 insertions, 2 deletions
diff --git a/helix-term/src/commands/dap.rs b/helix-term/src/commands/dap.rs
index 6e89586a..1cb5a35a 100644
--- a/helix-term/src/commands/dap.rs
+++ b/helix-term/src/commands/dap.rs
@@ -677,7 +677,6 @@ pub fn dap_disable_exceptions(cx: &mut Context) {
}
// TODO: both edit condition and edit log need to be stable: we might get new breakpoints from the debugger which can change offsets
-// we also might be editing a breakpoint in a document that's no longer focused
pub fn dap_edit_condition(cx: &mut Context) {
if let Some((pos, breakpoint)) = commands::cmd::get_breakpoint_at_current_line(cx.editor) {
let path = match doc!(cx.editor).path() {
diff --git a/helix-view/src/gutter.rs b/helix-view/src/gutter.rs
index 7bc8d375..f1127b6e 100644
--- a/helix-view/src/gutter.rs
+++ b/helix-view/src/gutter.rs
@@ -149,7 +149,6 @@ pub fn breakpoints<'doc>(
}
};
- // TODO: also handle breakpoints only present in the user struct
let sym = if breakpoint.verified { "▲" } else { "⊚" };
write!(out, "{}", sym).unwrap();
Some(style)