docs: Properly nest the docs for the inline git blame settings (#31739)
From a report on [discord](https://discord.com/channels/869392257814519848/873292398204170290/1377943171320774656): reorders the docs for the inline git blame feature so they are properly nested. <img width="1719" alt="Screenshot_2025-05-30_at_11 32 17" src="https://github.com/user-attachments/assets/3c20bda3-de81-4ac3-b8e2-e1d4eac0ce88" /> Release Notes: - N/A
This commit is contained in:
parent
9cf6be2057
commit
e0fa3032ec
1 changed files with 36 additions and 36 deletions
|
@ -1753,42 +1753,6 @@ Example:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Hunk Style
|
|
||||||
|
|
||||||
- Description: What styling we should use for the diff hunks.
|
|
||||||
- Setting: `hunk_style`
|
|
||||||
- Default:
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"git": {
|
|
||||||
"hunk_style": "staged_hollow"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
**Options**
|
|
||||||
|
|
||||||
1. Show the staged hunks faded out and with a border:
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"git": {
|
|
||||||
"hunk_style": "staged_hollow"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
2. Show unstaged hunks faded out and with a border:
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"git": {
|
|
||||||
"hunk_style": "unstaged_hollow"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
**Options**
|
**Options**
|
||||||
|
|
||||||
1. Disable inline git blame:
|
1. Disable inline git blame:
|
||||||
|
@ -1842,6 +1806,42 @@ Example:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Hunk Style
|
||||||
|
|
||||||
|
- Description: What styling we should use for the diff hunks.
|
||||||
|
- Setting: `hunk_style`
|
||||||
|
- Default:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"git": {
|
||||||
|
"hunk_style": "staged_hollow"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
**Options**
|
||||||
|
|
||||||
|
1. Show the staged hunks faded out and with a border:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"git": {
|
||||||
|
"hunk_style": "staged_hollow"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Show unstaged hunks faded out and with a border:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"git": {
|
||||||
|
"hunk_style": "unstaged_hollow"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Indent Guides
|
## Indent Guides
|
||||||
|
|
||||||
- Description: Configuration related to indent guides. Indent guides can be configured separately for each language.
|
- Description: Configuration related to indent guides. Indent guides can be configured separately for each language.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue