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.

bugfix: fix LineEnding for windows

Sharun0c4679f8923a
diff --git a/crates/text/src/text.rs b/crates/text/src/text.rs
index fd23d3dca40..acc170a5084 100644
--- a/crates/text/src/text.rs
+++ b/crates/text/src/text.rs
@@ -2634,7 +2634,7 @@ impl Default for LineEnding {
return Self::Unix;
#[cfg(not(unix))]
- return Self::CRLF;
+ return Self::Windows;
}
}