aboutsummaryrefslogtreecommitdiff
path: root/helix-core
diff options
context:
space:
mode:
authorgibbz002023-04-08 12:18:11 +0000
committerGitHub2023-04-08 12:18:11 +0000
commitaf88a3c15cc4ddbb1e2f2ea6492868ffb8aba40b (patch)
tree3b60461b6ea22246d8c2cabf116e6cd9e743d1a2 /helix-core
parente856906f766aa6d58aba6f6bca9e2e1879b1629d (diff)
Fix #6605: Remove soft-wrap.enable option wrapping. (#6656)
Co-authored-by: gibbz00 <gabrielhansson@gmail.com>
Diffstat (limited to 'helix-core')
-rw-r--r--helix-core/src/syntax.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs
index 40846967..0e6696db 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -555,7 +555,7 @@ impl LanguageConfiguration {
#[serde(default, rename_all = "kebab-case", deny_unknown_fields)]
pub struct SoftWrap {
/// Soft wrap lines that exceed viewport width. Default to off
- pub enable: Option<bool>,
+ pub enable: bool,
/// Maximum space left free at the end of the line.
/// This space is used to wrap text at word boundaries. If that is not possible within this limit
/// the word is simply split at the end of the line.