summary refs log tree commit diff stats
path: root/user/settings/development
diff options
context:
space:
mode:
Diffstat (limited to 'user/settings/development')
-rw-r--r--user/settings/development/lisp.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/user/settings/development/lisp.nix b/user/settings/development/lisp.nix
index 9ad918d2..ba1bd048 100644
--- a/user/settings/development/lisp.nix
+++ b/user/settings/development/lisp.nix
@@ -9,4 +9,11 @@
     asdf
     cl-launch
   ];
+
+  programs.git.attributes = [
+    "*.lisp diff=common-lisp"
+  ];
+  programs.git.extraConfig."diff.common-lisp" = {
+    xfuncname = "^\\((def\\S+\\s+\\S+)";
+  };
 }