mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 17:36:19 +04:00
docs: Document that what the diff
gutter symbol does (#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.
This commit is contained in:
parent
bb1e2ddcd8
commit
0516337abb
@ -340,7 +340,12 @@ #### `[editor.gutters.diagnostics]` Section
|
|||||||
|
|
||||||
#### `[editor.gutters.diff]` Section
|
#### `[editor.gutters.diff]` Section
|
||||||
|
|
||||||
Currently unused
|
The `diff` gutter option displays colored bars indicating whether a `git` diff represents that a line was added, removed or changed.
|
||||||
|
These colors are controlled by the theme attributes `diff.plus`, `diff.minus` and `diff.delta`.
|
||||||
|
|
||||||
|
Other diff providers will eventually be supported by a future plugin system.
|
||||||
|
|
||||||
|
There are currently no options for this section.
|
||||||
|
|
||||||
#### `[editor.gutters.spacer]` Section
|
#### `[editor.gutters.spacer]` Section
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user