Unnamed repository; edit this file 'description' to name the repository.
ensure :toggle soft-wrap.enable works by default (#6742)
Pascal Kuthe 2023-04-14
parent bff7fc8 · commit 5ec4119
-rw-r--r--helix-view/src/editor.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs
index 80c47ed0..52f86f2d 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -749,7 +749,10 @@ impl Default for Config {
bufferline: BufferLine::default(),
indent_guides: IndentGuidesConfig::default(),
color_modes: false,
- soft_wrap: SoftWrap::default(),
+ soft_wrap: SoftWrap {
+ enable: Some(false),
+ ..SoftWrap::default()
+ },
text_width: 80,
completion_replace: false,
workspace_lsp_roots: Vec::new(),