aboutsummaryrefslogtreecommitdiff
path: root/programs/git.nix
diff options
context:
space:
mode:
Diffstat (limited to 'programs/git.nix')
-rw-r--r--programs/git.nix56
1 files changed, 28 insertions, 28 deletions
diff --git a/programs/git.nix b/programs/git.nix
index dc842ce..b906efa 100644
--- a/programs/git.nix
+++ b/programs/git.nix
@@ -9,9 +9,35 @@ with theme;
9 programs.git = { 9 programs.git = {
10 enable = true; 10 enable = true;
11 ignores = [ ".envrc" ]; 11 ignores = [ ".envrc" ];
12 delta.enable = true;
13 userEmail = "[email protected]"; 12 userEmail = "[email protected]";
14 userName = "Akshay"; 13 userName = "Akshay";
14 delta = {
15 enable = true;
16 options = {
17 features = "decorations labels";
18 syntax-theme = "none";
19 zero-style = "8";
20 navigate = "true";
21 keep-plus-minus-markers = "true";
22 decorations = {
23 file-decoration-style = "none";
24 whitespace-error-style = "22 reverse";
25 minus-style = "${base08}";
26 minus-emph-style = "${base08} bold";
27 plus-style = "${base0B}";
28 plus-emph-style = "${base0B} bold";
29 file-style = "7 italic";
30 hunk-header-style = "7";
31 hunk-header-decoration-style = "8 ul";
32 };
33 labels = {
34 file-modified-label = " MODIFIED ";
35 file-removed-label = " REMOVED ";
36 file-added-label = " ADDED ";
37 file-renamed-label = " RENAMED ";
38 };
39 };
40 };
15 extraConfig = { 41 extraConfig = {
16 commit.verbose = true; 42 commit.verbose = true;
17 core = { 43 core = {
@@ -20,30 +46,4 @@ with theme;
20 }; 46 };
21 }; 47 };
22} 48}
23# delta = { 49
24# enable = true;
25# options = {
26# features = "decorations labels";
27# syntax-theme = "none";
28# zero-style = "8";
29# navigate = "true";
30# keep-plus-minus-markers = "true";
31# decorations = {
32# file-decoration-style = "none";
33# whitespace-error-style = "22 reverse";
34# minus-style = "${base08}";
35# minus-emph-style = "${base08} bold";
36# plus-style = "${base0B}";
37# plus-emph-style = "${base0B} bold";
38# file-style = "7 italic";
39# hunk-header-style = "7";
40# hunk-header-decoration-style = "8 ul";
41# };
42# labels = {
43# file-modified-label = " MODIFIED ";
44# file-removed-label = " REMOVED ";
45# file-added-label = " ADDED ";
46# file-renamed-label = " RENAMED ";
47# };
48# };
49# };