1

Switch from SLIME to SLY for CLisp editing

This commit is contained in:
Jessie Hildebrandt 2023-02-05 00:13:09 -05:00
parent 448cfea37c
commit f421df7087

32
init.el
View File

@ -1296,26 +1296,30 @@ DOCSTRING is an optional form that is discarded upon expansion."
(restclient))
;; ---------------------------------- ;;
;; slime
;; sly
;; ---------------------------------- ;;
(external-package slime
(external-package sly
"Provides an interactive programming environment for Common Lisp."
:custom
(inferior-lisp-program (executable-find "sbcl") "Set SBCL as the default Common Lisp implementation")
:hook
(lisp-mode-hook . slime-mode))
;; ---------------------------------- ;;
;; slime-docker
;; ---------------------------------- ;;
(external-package slime-docker
"Integrates SLIME with Lisps running in Docker containers."
:custom
(slime-docker-program "sbcl" "Set SBCL as the default Common Lisp implementation in containers")
(sly-mrepl-prompt-formatter (lambda (package nickname &rest args)
(concat nickname "")))
:commands
(slime-docker))
(sly)
:hook
(lisp-mode-hook . sly-mode))
;; ---------------------------------- ;;
;; sly-asdf
;; ---------------------------------- ;;
(external-package sly-asdf
"Adds support for editing ASDF systems within SLY."
:after
(sly)
:config
(add-to-list 'sly-contribs 'sly-asdf 'append))
;; ---------------------------------- ;;
;; string-inflection