docs: Fix misordered headings (#18192)
Junseong Park
created 1 year ago
1. Raised the `Indent Guides` heading to level 2, which is completely
unrelated to `Git`.
2. the `Git` heading now only contains `Git Gutter` and `Inline Git
Blame` as subheadings.
3. The `Indent Guides` heading is now located directly after the `Git`
heading.
Release Notes:
- N/A
Change summary
docs/src/configuring-zed.md | 88 +++++++++++++++++++-------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Detailed changes
@@ -857,7 +857,50 @@ To interpret all `.c` files as C++, files called `MyLockFile` as TOML and files
}
```
-### Indent Guides
+### Inline Git Blame
+
+- Description: Whether or not to show git blame information inline, on the currently focused line.
+- Setting: `inline_blame`
+- Default:
+
+```json
+{
+ "git": {
+ "inline_blame": {
+ "enabled": true
+ }
+ }
+}
+```
+
+**Options**
+
+1. Disable inline git blame:
+
+```json
+{
+ "git": {
+ "inline_blame": {
+ "enabled": false
+ }
+ }
+}
+```
+
+2. Only show inline git blame after a delay (that starts after cursor stops moving):
+
+```json
+{
+ "git": {
+ "inline_blame": {
+ "enabled": true,
+ "delay_ms": 500
+ }
+ }
+}
+```
+
+## Indent Guides
- Description: Configuration related to indent guides. Indent guides can be configured separately for each language.
- Setting: `indent_guides`
@@ -926,49 +969,6 @@ To interpret all `.c` files as C++, files called `MyLockFile` as TOML and files
}
```
-### Inline Git Blame
-
-- Description: Whether or not to show git blame information inline, on the currently focused line.
-- Setting: `inline_blame`
-- Default:
-
-```json
-{
- "git": {
- "inline_blame": {
- "enabled": true
- }
- }
-}
-```
-
-**Options**
-
-1. Disable inline git blame:
-
-```json
-{
- "git": {
- "inline_blame": {
- "enabled": false
- }
- }
-}
-```
-
-2. Only show inline git blame after a delay (that starts after cursor stops moving):
-
-```json
-{
- "git": {
- "inline_blame": {
- "enabled": true,
- "delay_ms": 500
- }
- }
-}
-```
-
## Hard Tabs
- Description: Whether to indent lines using tab characters or multiple spaces.