Closes #41422 This completely broke line numbering as described in the linked issue and scrolling up does not have the correct numbers any more. Release Notes: - NOTE: The `relative_line_numbers` change (https://github.com/zed-industries/zed/pull/39268) was reverted and did not make the release cut!
This commit is contained in:
@@ -2994,33 +2994,11 @@ List of `string` glob patterns
|
||||
|
||||
- Description: Whether to show relative line numbers in the gutter
|
||||
- Setting: `relative_line_numbers`
|
||||
- Default: `"disabled"`
|
||||
- Default: `false`
|
||||
|
||||
**Options**
|
||||
|
||||
1. Show relative line numbers in the gutter whilst counting wrapped lines as one line:
|
||||
|
||||
```json [settings]
|
||||
{
|
||||
"relative_line_numbers": "enabled"
|
||||
}
|
||||
```
|
||||
|
||||
2. Show relative line numbers in the gutter, including wrapped lines in the counting:
|
||||
|
||||
```json [settings]
|
||||
{
|
||||
"relative_line_numbers": "wrapped"
|
||||
}
|
||||
```
|
||||
|
||||
2. Do not use relative line numbers:
|
||||
|
||||
```json [settings]
|
||||
{
|
||||
"relative_line_numbers": "disabled"
|
||||
}
|
||||
```
|
||||
`boolean` values
|
||||
|
||||
## Remove Trailing Whitespace On Save
|
||||
|
||||
|
||||
Reference in New Issue
Block a user