Remove non-wrapping settings from the language configuration (#18412)
Closes https://github.com/zed-industries/zed/issues/17736 Those are limited with 1024 symbols before wrapping still, and were introduced for git diff deleted hunks display. Instead of confusing people with actually wrapping, restores behavior that was before https://github.com/zed-industries/zed/pull/11080 Release Notes: - Removed confusing soft wrap option behavior ([#17736]https://github.com/zed-industries/zed/issues/17736)
This commit is contained in:
@@ -1357,12 +1357,12 @@ Or to set a `socks5` proxy:
|
||||
|
||||
- Description: Whether or not to automatically wrap lines of text to fit editor / preferred width.
|
||||
- Setting: `soft_wrap`
|
||||
- Default: `prefer_line`
|
||||
- Default: `none`
|
||||
|
||||
**Options**
|
||||
|
||||
1. `none` to stop the soft-wrapping
|
||||
2. `prefer_line` to avoid wrapping generally, unless the line is too long
|
||||
1. `none` to avoid wrapping generally, unless the line is too long
|
||||
2. `prefer_line` (deprecated, same as `none`)
|
||||
3. `editor_width` to wrap lines that overflow the editor width
|
||||
4. `preferred_line_length` to wrap lines that overflow `preferred_line_length` config value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user