aboutsummaryrefslogtreecommitdiff
path: root/helix-view
diff options
context:
space:
mode:
authorPascal Kuthe2023-04-13 18:37:33 +0000
committerGitHub2023-04-13 18:37:33 +0000
commit5ec41195a0dde08c559f9f1b95c0ff4054dfa2ba (patch)
treeacd8ed7acf447dbfddffc24e049a9857f2f645a6 /helix-view
parentbff7fc8695f1d58b918f94dee7638f8a4a1e4b0e (diff)
ensure :toggle soft-wrap.enable works by default (#6742)
Diffstat (limited to 'helix-view')
-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(),