Skip to content

Commit

Permalink
Update color-moved-support.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chtenb authored and dandavison committed Jan 25, 2022
1 parent 603b807 commit 37dd339
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion manual/src/color-moved-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ This feature allows all of git's color-moved options to be rendered using delta
map-styles = bold purple => syntax magenta, bold cyan => syntax blue
```

There is a pair of features provided in [themes.config](https://github.com/chtenb/delta/blob/master/themes.gitconfig) called `zebra-dark` and `zebra-light` which utilise the moved colors by displaying them as a faint background color on the affected lines while keeping syntax highlighting as the foreground color. You can enable one of these features by stacking it upon the theme you are using.
There is a pair of features provided in [themes.config](https://github.com/chtenb/delta/blob/master/themes.gitconfig) called `zebra-dark` and `zebra-light` which utilise the moved colors by displaying them as a faint background color on the affected lines while keeping syntax highlighting as the foreground color. You can enable one of these features by stacking it upon the theme you are using, like as follows

```gitconfig
[delta]
features = my-dark-theme zebra-dark
```

<table><tr>
<td><img width=600px src="https://user-images.githubusercontent.com/1030961/149756321-d9e885fe-206c-4e08-8c40-e0ed5969b04a.png" alt="image" /></td>
Expand Down

0 comments on commit 37dd339

Please sign in to comment.