diff options
Diffstat (limited to 'tests/modules/programs/git')
-rw-r--r-- | tests/modules/programs/git/git-expected.conf | 13 | ||||
-rw-r--r-- | tests/modules/programs/git/git.nix | 10 |
2 files changed, 20 insertions, 3 deletions
diff --git a/tests/modules/programs/git/git-expected.conf b/tests/modules/programs/git/git-expected.conf index a4457adfabb..c3e534af058 100644 --- a/tests/modules/programs/git/git-expected.conf +++ b/tests/modules/programs/git/git-expected.conf @@ -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" diff --git a/tests/modules/programs/git/git.nix b/tests/modules/programs/git/git.nix index 54e3c79b43d..feefff54b61 100644 --- a/tests/modules/programs/git/git.nix +++ b/tests/modules/programs/git/git.nix @@ -60,7 +60,15 @@ in { lfs.enable = true; delta = { enable = true; - options = [ "--dark" ]; + options = { + features = "decorations"; + whitespace-error-style = "22 reverse"; + decorations = { + commit-decoration-style = "bold yellow box ul"; + file-style = "bold yellow ul"; + file-decoration-style = "none"; + }; + }; }; } |