Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

:memo:

Antonio Scandurradd416cdfd28c
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index 248e6fed951..b2232d8df27 100644
--- a/crates/editor/src/editor.rs
+++ b/crates/editor/src/editor.rs
@@ -3279,7 +3279,7 @@ impl Editor {
}
}
- // Accept copilot suggestion if there is only one selection and the cursor is
+ // Accept copilot suggestion if there is only one selection and the cursor is not
// in the leading whitespace.
if self.selections.count() == 1
&& selection.start.column >= current_indent.len