git: configure delta through [delta] git section (#1371)
this breaks backwards compatibility (now accepts a dict instead of a list) so please update programs.git.delta.options accordingly.
This commit is contained in:
parent
5c639ff68a
commit
4bd0ca2cd7
3 changed files with 43 additions and 15 deletions
|
|
@ -7,7 +7,16 @@
|
|||
gpgSign = true
|
||||
|
||||
[core]
|
||||
pager = "@deltaCommand@ --dark"
|
||||
pager = "@deltaCommand@"
|
||||
|
||||
[delta]
|
||||
features = "decorations"
|
||||
whitespace-error-style = "22 reverse"
|
||||
|
||||
[delta "decorations"]
|
||||
commit-decoration-style = "bold yellow box ul"
|
||||
file-decoration-style = "none"
|
||||
file-style = "bold yellow ul"
|
||||
|
||||
[extra]
|
||||
boolean = true
|
||||
|
|
@ -32,7 +41,7 @@
|
|||
program = "path-to-gpg"
|
||||
|
||||
[interactive]
|
||||
diffFilter = "@deltaCommand@ --dark --color-only"
|
||||
diffFilter = "@deltaCommand@ --color-only"
|
||||
|
||||
[user]
|
||||
email = "user@example.org"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue