diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index fd68bc9a32..69bb298c22 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -6050,6 +6050,7 @@ impl Editor { } } + // FIXME: Consolidate the range styling APIs so that this clone isn't nescessary pub fn clone_click_ranges(&self) -> Vec> { self.clickable_text .get(&TypeId::of::()) diff --git a/crates/vim/src/normal.rs b/crates/vim/src/normal.rs index c48a00f56d..55134e2149 100644 --- a/crates/vim/src/normal.rs +++ b/crates/vim/src/normal.rs @@ -216,8 +216,6 @@ fn insert_line_above(_: &mut Workspace, _: &InsertLineAbove, cx: &mut ViewContex }); } -// TODO: FIGURE OUT WHY PANIC WHEN CLICKING ON FOLDS - fn insert_line_below(_: &mut Workspace, _: &InsertLineBelow, cx: &mut ViewContext) { Vim::update(cx, |vim, cx| { vim.switch_mode(Mode::Insert, false, cx);