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:
Mario Rodas 2020-07-20 10:03:40 -05:00 committed by GitHub
parent 5c639ff68a
commit 4bd0ca2cd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 15 deletions

View file

@ -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";
};
};
};
}