docs: Properly nest the docs for the inline git blame settings (#31739)
Alejandro Fernández Gómez
created
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
@@ -1753,91 +1753,91 @@ Example:
}
```
-### Hunk Style
+**Options**
-- Description: What styling we should use for the diff hunks.-- Setting: `hunk_style`-- Default:
+1. Disable inline git blame:
```json
{
"git": {
- "hunk_style": "staged_hollow"
+ "inline_blame": {
+ "enabled": false
+ }
}
}
```
-**Options**--1. Show the staged hunks faded out and with a border:
+2. Only show inline git blame after a delay (that starts after cursor stops moving):
```json
{
"git": {
- "hunk_style": "staged_hollow"
+ "inline_blame": {
+ "enabled": true,
+ "delay_ms": 500
+ }
}
}
```
-2. Show unstaged hunks faded out and with a border:
+3. Show a commit summary next to the commit date and author:
```json
{
"git": {
- "hunk_style": "unstaged_hollow"
+ "inline_blame": {
+ "enabled": true,
+ "show_commit_summary": true
+ }
}
}
```
-**Options**--1. Disable inline git blame:
+4. Use this as the minimum column at which to display inline blame information:
```json
{
"git": {
"inline_blame": {
- "enabled": false
+ "enabled": true,
+ "min_column": 80
}
}
}
```
-2. Only show inline git blame after a delay (that starts after cursor stops moving):
+### Hunk Style
+
+- Description: What styling we should use for the diff hunks.
+- Setting: `hunk_style`
+- Default:
```json
{
"git": {
- "inline_blame": {- "enabled": true,- "delay_ms": 500- }
+ "hunk_style": "staged_hollow"
}
}
```
-3. Show a commit summary next to the commit date and author:
+**Options**
+
+1. Show the staged hunks faded out and with a border:
```json
{
"git": {
- "inline_blame": {- "enabled": true,- "show_commit_summary": true- }
+ "hunk_style": "staged_hollow"
}
}
```
-4. Use this as the minimum column at which to display inline blame information:
+2. Show unstaged hunks faded out and with a border:
```json
{
"git": {
- "inline_blame": {- "enabled": true,- "min_column": 80- }
+ "hunk_style": "unstaged_hollow"
}
}
```