replace diff-so-fancy with delta
This commit is contained in:
parent
a200fdc3a4
commit
c2de229dea
1 changed files with 6 additions and 1 deletions
|
@ -3,8 +3,12 @@
|
||||||
in {
|
in {
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
diff-so-fancy = {
|
delta = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
options = {
|
||||||
|
side-by-side = true;
|
||||||
|
syntax-theme = "Dracula";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
userEmail = user.primary.emailAddress;
|
userEmail = user.primary.emailAddress;
|
||||||
userName = user.primary.realName;
|
userName = user.primary.realName;
|
||||||
|
@ -14,6 +18,7 @@ in {
|
||||||
};
|
};
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
|
merge.conflictstyle = "diff3";
|
||||||
push.autoSetupRemote = true;
|
push.autoSetupRemote = true;
|
||||||
pull.rebase = true;
|
pull.rebase = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue