From 5ec41195a0dde08c559f9f1b95c0ff4054dfa2ba Mon Sep 17 00:00:00 2001 From: Pascal Kuthe Date: Thu, 13 Apr 2023 20:37:33 +0200 Subject: ensure :toggle soft-wrap.enable works by default (#6742) --- helix-view/src/editor.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(), -- cgit v1.2.3-70-g09d2