diff options
author | Pascal Kuthe | 2023-04-13 18:37:33 +0000 |
---|---|---|
committer | GitHub | 2023-04-13 18:37:33 +0000 |
commit | 5ec41195a0dde08c559f9f1b95c0ff4054dfa2ba (patch) | |
tree | acd8ed7acf447dbfddffc24e049a9857f2f645a6 | |
parent | bff7fc8695f1d58b918f94dee7638f8a4a1e4b0e (diff) |
ensure :toggle soft-wrap.enable works by default (#6742)
-rw-r--r-- | helix-view/src/editor.rs | 5 |
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(), |