1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-14 21:11:08 +01:00

git: difftastic: use 'option' attrset

This will avoid having to enumerate and hard-code default values.
This commit is contained in:
Bruno BELANYI 2025-10-06 14:19:38 +00:00 committed by Austin Horstman
parent ed10023224
commit 929535c308
3 changed files with 48 additions and 78 deletions

View file

@ -5,14 +5,14 @@
difftastic = {
enable = true;
enableAsDifftool = true;
background = "dark";
color = "always";
context = 5;
display = "inline";
extraArgs = [
"--tab-width=8"
"--sort-paths"
];
options = {
background = "dark";
color = "always";
context = 5;
display = "inline";
tab-width = 8;
sort-paths = true;
};
};
};