@@ -555,7 +555,9 @@ impl LanguageConfiguration {
555555#[serde(default, rename_all = "kebab-case", deny_unknown_fields)]
556556pub struct SoftWrap {
557557 /// Soft wrap lines that exceed viewport width. Default to off
558− pub enable: bool,
558+ // NOTE: Option on purpose because the struct is shared between language config and global config.
559+ // By default the option is None so that the language config falls back to the global config unless explicitly set.
560+ pub enable: Option<bool>,
559561 /// Maximum space left free at the end of the line.
560562 /// This space is used to wrap text at word boundaries. If that is not possible within this limit
561563 /// the word is simply split at the end of the line.