new difftastic
This commit is contained in:
parent
1ba1b9e5ca
commit
944b4b2f47
1 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }: {
|
{ config, pkgs, inputs, ... }: {
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
|
@ -15,7 +15,9 @@
|
||||||
colour.ui = true;
|
colour.ui = true;
|
||||||
credential = { helper = "cache"; };
|
credential = { helper = "cache"; };
|
||||||
diff.algorithm = "histogram";
|
diff.algorithm = "histogram";
|
||||||
diff.external = "${pkgs.difftastic}/bin/difftastic $LOCAL $REMOTE";
|
diff.external = "${
|
||||||
|
inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".difftastic
|
||||||
|
}/bin/difft $LOCAL $REMOTE";
|
||||||
diff.renameLimit = 2048;
|
diff.renameLimit = 2048;
|
||||||
diff.renames = "copy";
|
diff.renames = "copy";
|
||||||
help.autocorrect = 1;
|
help.autocorrect = 1;
|
||||||
|
|
Loading…
Reference in a new issue