Skip to content

Instantly share code, notes, and snippets.

@tsuyoshicho
Created September 18, 2020 09:21
Show Gist options
  • Save tsuyoshicho/5b2e665950ea9274b3eb62ace78884a8 to your computer and use it in GitHub Desktop.
Save tsuyoshicho/5b2e665950ea9274b3eb62ace78884a8 to your computer and use it in GitHub Desktop.
delta config for git (temp tuning)
[delta]
features = base-style color-line-numbers decorations
whitespace-error-style = reverse 93
inspect-raw-lines = false
[delta "base-style"]
minus-style = normal 169
minus-non-emph-style = normal 169
minus-emph-style = normal ul 169
minus-empty-line-marker-style = normal ul 169
# zero-style = syntax
plus-style = syntax auto
plus-non-emph-style = syntax auto
plus-emph-style = syntax ul auto
plus-empty-line-marker-style = syntax ul auto
[delta "color-line-numbers"]
line-numbers = true
line-numbers-minus-style = "#444444"
line-numbers-zero-style = "#444444"
line-numbers-plus-style = "#444444"
line-numbers-left-format = "{nm:>4}┊"
line-numbers-right-format = "{np:>4}│"
line-numbers-left-style = blue
line-numbers-right-style = blue
[delta "decorations"]
commit-decoration-style = bold cyan box ul
file-style = bold red ul
file-decoration-style = none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment