Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix comments
Mikayla Maki2198c295b3f1
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rsindex fd68bc9a328..69bb298c226 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 nescessarypub fn clone_click_ranges<T: ClickRange>(&self) -> Vec<Range<Anchor>> {self.clickable_text.get(&TypeId::of::<T>())diff --git a/crates/vim/src/normal.rs b/crates/vim/src/normal.rsindex c48a00f56dd..55134e21494 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<Workspace>) {Vim::update(cx, |vim, cx| {vim.switch_mode(Mode::Insert, false, cx);