Update soft_wrap config option documentation (#13457)

Closes https://github.com/zed-industries/zed/discussions/13440

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov 2024-06-24 11:52:52 +03:00 committed by GitHub
parent 10f7ca65cf
commit d2a2faf7a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 8 deletions

View file

@ -1110,13 +1110,14 @@ These values take in the same options as the root-level settings with the same n
- Description: Whether or not to automatically wrap lines of text to fit editor / preferred width.
- Setting: `soft_wrap`
- Default: `none`
- Default: `prefer_line`
**Options**
1. `editor_width`
2. `preferred_line_length`
3. `none`
1. `none` to stop the soft-wrapping
2. `prefer_line` to avoid wrapping generally, unless the line is too long
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
## Wrap Guides (Vertical Rulers)