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:
+2
-2
@@ -606,7 +606,7 @@ Here are a few general Zed settings that can help you fine-tune your Vim experie
|
||||
| Property | Description | Default Value |
|
||||
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |
|
||||
| cursor_blink | If `true`, the cursor blinks. | `true` |
|
||||
| relative_line_numbers | If `"enabled"`, line numbers in the left gutter are relative to the cursor. If `"wrapped"`, they also display for wrapped lines. | `"disabled"` |
|
||||
| relative_line_numbers | If `true`, line numbers in the left gutter are relative to the cursor. | `false` |
|
||||
| scrollbar | Object that controls the scrollbar display. Set to `{ "show": "never" }` to hide the scroll bar. | `{ "show": "auto" }` |
|
||||
| scroll_beyond_last_line | If set to `"one_page"`, allows scrolling up to one page beyond the last line. Set to `"off"` to prevent this behavior. | `"one_page"` |
|
||||
| vertical_scroll_margin | The number of lines to keep above or below the cursor when scrolling. Set to `0` to allow the cursor to go up to the edges of the screen vertically. | `3` |
|
||||
@@ -620,7 +620,7 @@ Here's an example of these settings changed:
|
||||
// Disable cursor blink
|
||||
"cursor_blink": false,
|
||||
// Use relative line numbers
|
||||
"relative_line_numbers": "enabled",
|
||||
"relative_line_numbers": true,
|
||||
// Hide the scroll bar
|
||||
"scrollbar": { "show": "never" },
|
||||
// Prevent the buffer from scrolling beyond the last line
|
||||
|
||||
Reference in New Issue
Block a user