Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Use `+` instead of `|` to break out of tab expansion in `TabMap::sync`
Antonio Scandurra79346b070637
diff --git a/crates/editor/src/display_map/tab_map.rs b/crates/editor/src/display_map/tab_map.rsindex f5776270a0f..8c136f4b182 100644--- a/crates/editor/src/display_map/tab_map.rs+++ b/crates/editor/src/display_map/tab_map.rs@@ -97,7 +97,7 @@ impl TabMap {offset_from_edit += chunk.text.len() as u32;if old_end_column + offset_from_edit >= old_snapshot.max_expansion_column- && new_end_column | offset_from_edit >= new_snapshot.max_expansion_column+ && new_end_column + offset_from_edit >= new_snapshot.max_expansion_column{break;}