summary refs log tree commit diff stats
path: root/user/settings/development/lisp.nix
blob: 757a77ef66bc2e46554acdc386df631adcaf0e57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ config
, pkgs
, ...
}: {
  home.packages = with pkgs; [
    sbcl
    lispPackages.quicklisp
    asdf
    cl-launch
  ] ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
    ccl
  ];

  programs.git.attributes = [
    "*.lisp diff=common-lisp"
  ];
  programs.git.extraConfig."diff.common-lisp" = {
    xfuncname = "^\\((def\\S+\\s+\\S+)";
  };
}