about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-11-22T22·55+0100
committerVincent Ambo <tazjin@gmail.com>2017-11-22T22·55+0100
commit4dce87d1e21e06f3321b974ebc3f37490121ebfc (patch)
tree891ac39030d141b0b3601ab3e21064649dc0f52d
parentff7a9576b2ce206ff2bf73b53de2191d41f347b3 (diff)
feat(lisp): Add basic Common Lisp settings
-rw-r--r--init.el1
-rw-r--r--init/lisp-settings.el11
2 files changed, 12 insertions, 0 deletions
diff --git a/init.el b/init.el
index 0b7733bb0cac..345e43859ca1 100644
--- a/init.el
+++ b/init.el
@@ -56,6 +56,7 @@
     rust-mode
     smart-mode-line
     string-edit
+    slime
     switch-window
     terraform-mode
     undo-tree
diff --git a/init/lisp-settings.el b/init/lisp-settings.el
new file mode 100644
index 000000000000..31bbe3537f2b
--- /dev/null
+++ b/init/lisp-settings.el
@@ -0,0 +1,11 @@
+;; lisp-settings.el - settings for various Lisp dialects
+;; -*- lexical-binding: t; -*-
+
+;; All the lisps:
+
+(add-to-list 'lisp-mode-hook #'paredit-mode)
+
+;; Common Lisp:
+(load (expand-file-name "~/quicklisp/slime-helper.el"))
+(setq inferior-lisp-program (concat (nix-store-path "sbcl") "/bin/sbcl"))
+(setq slime-contribs '(slime-fancy))