use built-in git diff highlight by default

This commit is contained in:
Noah Masur 2024-03-06 11:47:57 -05:00
parent 3403924105
commit ec09db42e6

View File

@ -28,6 +28,10 @@ in {
userName = config.gitName;
userEmail = config.gitEmail;
extraConfig = {
core.pager =
"${pkgs.git}/share/git/contrib/diff-highlight/diff-highlight | less -F";
interactive.difffilter =
"${pkgs.git}/share/git/contrib/diff-highlight/diff-highlight";
pager = { branch = "false"; };
safe = { directory = config.dotfilesPath; };
pull = { ff = "only"; };