Skip to content

Commit e2b5db0

Browse files
markstospostsolar
authored andcommitted
docs: Document that what the diff gutter symbol does (helix-editor#9587)
Before there was no document about what the `diff` gutter is displaying or what the colors mean. These docs clarify it's a `git` diff and makes it easier to cross-reference the theme if you aren't sure what the colors mean or want to change them.
1 parent 119ac1e commit e2b5db0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

book/src/configuration.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,12 @@ Currently unused
340340

341341
#### `[editor.gutters.diff]` Section
342342

343-
Currently unused
343+
The `diff` gutter option displays colored bars indicating whether a `git` diff represents that a line was added, removed or changed.
344+
These colors are controlled by the theme attributes `diff.plus`, `diff.minus` and `diff.delta`.
345+
346+
Other diff providers will eventually be supported by a future plugin system.
347+
348+
There are currently no options for this section.
344349

345350
#### `[editor.gutters.spacer]` Section
346351

0 commit comments

Comments
 (0)