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

- Remove wrap guide / vertical ruler in untitled buffers
- Fixes https://github.com/zed-industries/zed/issues/12473
This commit is contained in:
Peter Tripp
2024-07-12 11:10:59 -04:00
committed by GitHub
parent 607ad6de3c
commit 106e0623dd
+1 -1
View File
@@ -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,