diff options
-rw-r--r-- | common/commandline/git.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/common/commandline/git.nix b/common/commandline/git.nix index 0e04358..07b49ad 100644 --- a/common/commandline/git.nix +++ b/common/commandline/git.nix | |||
@@ -38,13 +38,19 @@ inputs: { | |||
38 | }; | 38 | }; |
39 | 39 | ||
40 | diff = { | 40 | diff = { |
41 | algorithm = "histogram"; | ||
41 | colormoved = "default"; | 42 | colormoved = "default"; |
42 | colorMovedWS = "allow-indentation-change"; | 43 | colorMovedWS = "allow-indentation-change"; |
43 | }; | 44 | }; |
44 | 45 | ||
45 | pull.ff = "only"; | 46 | pull.ff = "only"; |
46 | 47 | ||
47 | merge = {tool = "nvimdiff";}; | 48 | rerere.enable = true; |
49 | |||
50 | merge = { | ||
51 | conflictStyle = "zdiff3"; | ||
52 | tool = "nvimdiff"; | ||
53 | }; | ||
48 | "mergetool \"nvimdiff\"" = {cmd = "nvim -d \"$LOCAL\" \"$MERGED\" \"$REMOTE\"";}; | 54 | "mergetool \"nvimdiff\"" = {cmd = "nvim -d \"$LOCAL\" \"$MERGED\" \"$REMOTE\"";}; |
49 | 55 | ||
50 | delta = with config.theme.colors; { | 56 | delta = with config.theme.colors; { |