Skip to content

Commit e7fcf83

Browse files
authored
docs: Fix misordered headings (#18192)
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
1 parent 1f35c8d commit e7fcf83

File tree

1 file changed

+44
-44
lines changed

1 file changed

+44
-44
lines changed

docs/src/configuring-zed.md

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,50 @@ To interpret all `.c` files as C++, files called `MyLockFile` as TOML and files
857857
}
858858
```
859859

860-
### Indent Guides
860+
### Inline Git Blame
861+
862+
- Description: Whether or not to show git blame information inline, on the currently focused line.
863+
- Setting: `inline_blame`
864+
- Default:
865+
866+
```json
867+
{
868+
"git": {
869+
"inline_blame": {
870+
"enabled": true
871+
}
872+
}
873+
}
874+
```
875+
876+
**Options**
877+
878+
1. Disable inline git blame:
879+
880+
```json
881+
{
882+
"git": {
883+
"inline_blame": {
884+
"enabled": false
885+
}
886+
}
887+
}
888+
```
889+
890+
2. Only show inline git blame after a delay (that starts after cursor stops moving):
891+
892+
```json
893+
{
894+
"git": {
895+
"inline_blame": {
896+
"enabled": true,
897+
"delay_ms": 500
898+
}
899+
}
900+
}
901+
```
902+
903+
## Indent Guides
861904

862905
- Description: Configuration related to indent guides. Indent guides can be configured separately for each language.
863906
- Setting: `indent_guides`
@@ -926,49 +969,6 @@ To interpret all `.c` files as C++, files called `MyLockFile` as TOML and files
926969
}
927970
```
928971

929-
### Inline Git Blame
930-
931-
- Description: Whether or not to show git blame information inline, on the currently focused line.
932-
- Setting: `inline_blame`
933-
- Default:
934-
935-
```json
936-
{
937-
"git": {
938-
"inline_blame": {
939-
"enabled": true
940-
}
941-
}
942-
}
943-
```
944-
945-
**Options**
946-
947-
1. Disable inline git blame:
948-
949-
```json
950-
{
951-
"git": {
952-
"inline_blame": {
953-
"enabled": false
954-
}
955-
}
956-
}
957-
```
958-
959-
2. Only show inline git blame after a delay (that starts after cursor stops moving):
960-
961-
```json
962-
{
963-
"git": {
964-
"inline_blame": {
965-
"enabled": true,
966-
"delay_ms": 500
967-
}
968-
}
969-
}
970-
```
971-
972972
## Hard Tabs
973973

974974
- Description: Whether to indent lines using tab characters or multiple spaces.

0 commit comments

Comments
 (0)