mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +01:00
git: Make git diff work with bun.lockb
This commit is contained in:
parent
222c2587fa
commit
4492f2921e
@ -15,10 +15,19 @@ in
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
||||
attributes = [
|
||||
"*.lockb binary diff=lockb"
|
||||
];
|
||||
|
||||
extraConfig = {
|
||||
include.path = "~/.gituser";
|
||||
commit.gpgsign = true;
|
||||
|
||||
diff.lockb = {
|
||||
textconv = "bun";
|
||||
binary = true;
|
||||
};
|
||||
|
||||
core = {
|
||||
editor = "nvim";
|
||||
autocrlf = false;
|
||||
|
Loading…
Reference in New Issue
Block a user