feat(git): support diffing bun lockfiles
This commit is contained in:
parent
e0a99fd91e
commit
1a2071c596
@ -24,6 +24,7 @@
|
||||
extensions = ["rust-src"];
|
||||
})
|
||||
];
|
||||
|
||||
programs.zsh.initExtra = ''
|
||||
export PATH=~/.npm-packages/bin:$PATH
|
||||
export NODE_PATH=~/.npm-packages/lib/node_modules
|
||||
@ -32,4 +33,15 @@
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Bun Git config
|
||||
programs.git = {
|
||||
attributes = [
|
||||
"*.lockb binary diff=lockb"
|
||||
];
|
||||
extraConfig = {
|
||||
diff.lockb.textconv = "bun";
|
||||
diff.lockb.binary = "true";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user