From dec3c138e916751830ef5209a54d0ef38e77d173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Fri, 27 Jun 2025 23:39:40 +0200 Subject: [PATCH] git: use difftastic fantastic --- nix/homeModules/common/git.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/nix/homeModules/common/git.nix b/nix/homeModules/common/git.nix index 96afffa4..a38485b7 100644 --- a/nix/homeModules/common/git.nix +++ b/nix/homeModules/common/git.nix @@ -2,14 +2,9 @@ # git plugins programs.git = { lfs.enable = true; - delta = { + difftastic = { enable = true; - options = { - side-by-side = true; - syntax-theme = "OneHalfLight"; - file-style = "magenta"; - hunk-header-style = "omit"; - }; + enableAsDifftool = true; }; };