all repos — nixfiles @ 081a9da659babf65b57fe19f0d10ac5d031f6567

System and user configuration, managed by nix and home-manager

user/settings/development/lisp.nix (view raw)

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; [
    clisp
    sbcl
    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+)";
  };
}