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)) (restclient))
;; ---------------------------------- ;; ;; ---------------------------------- ;;
;; slime ;; sly
;; ---------------------------------- ;; ;; ---------------------------------- ;;
(external-package slime (external-package sly
"Provides an interactive programming environment for Common Lisp." "Provides an interactive programming environment for Common Lisp."
:custom :custom
(inferior-lisp-program (executable-find "sbcl") "Set SBCL as the default Common Lisp implementation") (inferior-lisp-program (executable-find "sbcl") "Set SBCL as the default Common Lisp implementation")
:hook (sly-mrepl-prompt-formatter (lambda (package nickname &rest args)
(lisp-mode-hook . slime-mode)) (concat nickname "")))
;; ---------------------------------- ;;
;; 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")
:commands :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 ;; string-inflection