summaryrefslogtreecommitdiff
path: root/home/home-minimal.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home/home-minimal.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/home/home-minimal.nix b/home/home-minimal.nix
index 42f358d..78d6014 100644
--- a/home/home-minimal.nix
+++ b/home/home-minimal.nix
@@ -138,8 +138,33 @@
commit.verbose = true;
rerere.enabled = true;
branch.sort = "-authordate";
+
+ merge.mergiraf = {
+ name = "mergiraf";
+ driver = "merigraf merge --git %O %A %B -s %S -x %X -y %Y -p %P";
+ };
};
+ attributes = [
+ "*.java merge=mergiraf"
+ "*.rs merge=mergiraf"
+ "*.go merge=mergiraf"
+ "*.js merge=mergiraf"
+ "*.jsx merge=mergiraf"
+ "*.json merge=mergiraf"
+ "*.yml merge=mergiraf"
+ "*.yaml merge=mergiraf"
+ "*.html merge=mergiraf"
+ "*.htm merge=mergiraf"
+ "*.xhtml merge=mergiraf"
+ "*.xml merge=mergiraf"
+ "*.c merge=mergiraf"
+ "*.h merge=mergiraf"
+ "*.cpp merge=mergiraf"
+ "*.hpp merge=mergiraf"
+ "*.cs merge=mergiraf"
+ ];
+
# diff-so-fancy.enable = true;
# difftastic.enable = true;
delta = {