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
This commit is contained in:
parent
1f35c8d09d
commit
e7fcf83ce8
1 changed files with 44 additions and 44 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue