mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-02 15:00:23 +00:00
Use +
instead of |
to break out of tab expansion in TabMap::sync
This commit is contained in:
parent
ec5ffe9922
commit
79346b0706
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue