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.

PlainText language: Default to SoftWrap::EditorWidth (#14331)

Peter Tripp106e0623dd82
diff --git a/crates/language/src/language.rs b/crates/language/src/language.rs
index d1bb7c36f7d..19a0d972486 100644
--- a/crates/language/src/language.rs
+++ b/crates/language/src/language.rs
@@ -122,7 +122,7 @@ lazy_static! {
pub static ref PLAIN_TEXT: Arc<Language> = Arc::new(Language::new(
LanguageConfig {
name: "Plain Text".into(),
- soft_wrap: Some(SoftWrap::PreferredLineLength),
+ soft_wrap: Some(SoftWrap::EditorWidth),
..Default::default()
},
None,