diff options
| author | Jakob L. Kreuze | 2020-06-01 16:53:50 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze | 2020-06-01 16:53:50 -0400 |
| commit | 6c7f0b8ae2de30a808901b16b0d462fe833ea1b4 (patch) | |
| tree | 2cc0a3e9022fc43c39e5b91f4e7832b5387636e9 /lisp/programming/common-lisp.el | |
| parent | 4d4f759881e310818055c31f286158da9db60d1c (diff) | |
Break config into files.
Diffstat (limited to 'lisp/programming/common-lisp.el')
| -rw-r--r-- | lisp/programming/common-lisp.el | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lisp/programming/common-lisp.el b/lisp/programming/common-lisp.el new file mode 100644 index 0000000..b3aa00b --- /dev/null +++ b/lisp/programming/common-lisp.el @@ -0,0 +1,32 @@ +;;; common-lisp.el -*- lexical-binding: t; -*- +;;; +;;; Author: Jakob L. Kreuze <zerodaysfordays@sdf.org> +;;; URL: https://git.sr.ht/~jakob/.emacs.d/ +;;; +;;; Configuration of a development environment for the Common Lisp programming +;;; language. +;;; + +;; SLIME is my preferred REPL for working with Common Lisp, + +(use-package slime + ;; and SBCL is my preferred implementation. + :config + (setq inferior-lisp-program "sbcl") + + ;; Enable Smartparens and Company in the SLIME REPL. + :hook + (slime-repl-mode . (lambda () + (smartparens-mode +1) + (company-mode +1))) + + ;; Enable the SLIME backend for company. + :config + (setq slime-contribs '(slime-fancy slime-company))) + +(use-package slime-company + :after company + :hook + (lisp-mode . (lambda () (company-mode +1))) + :config + (add-to-list 'company-backends 'company-slime)) |