Commit 74ae80a1a948
Changed files (1)
modules
profiles
modules/profiles/git.nix
@@ -53,13 +53,17 @@ in
st = "status";
w = "status -sb";
};
+ attributes = [
+ "*.org diff=org"
+ "*.lisp diff=lisp"
+ "*.el diff=lisp"
+ "*.hy diff=lisp"
+ "*.scm diff=lisp"
+ ];
extraConfig = {
core = {
editor = "${pkgs.emacs}/bin/emacsclient -t";
};
- forge = {
- remote = "upstream";
- };
color = {
status = "auto";
diff = "auto";
@@ -84,6 +88,15 @@ in
changed = "yellow";
untracked = "red";
};
+ "diff.org" = {
+ xfuncname = "^\\\\*+.*";
+ };
+ "diff.lisp" = {
+ xfuncname = "^\\\\([^ ]+ [^ ]+";
+ };
+ forge = {
+ remote = "upstream";
+ };
hub = {
protocol = true;
};