Update to add SLIME for Common Lisp editing

This commit is contained in:
William Moore 2024-12-31 16:03:59 -06:00
parent 18a9c919f6
commit 41f5c9b254

View File

@ -8,6 +8,7 @@
"Whether or not to enable development assistance packages." "Whether or not to enable development assistance packages."
:type '(set (const :tag "None" nil) :type '(set (const :tag "None" nil)
(const :tag "lsp" lspmode) ;; generally required for other modes (const :tag "lsp" lspmode) ;; generally required for other modes
(const :tag "slime-mode" slimemode) ;; SLIME mode (Common Lisp)
(const :tag "magit" magitmode) ;; git integration (const :tag "magit" magitmode) ;; git integration
(const :tag "projectile" projectilemode) ;; project management (const :tag "projectile" projectilemode) ;; project management
(const :tag "go" gomode) ;; go language support (const :tag "go" gomode) ;; go language support
@ -37,6 +38,14 @@
(add-hook 'terraform-mode-hook #'terraform-format-on-save-mode)) (add-hook 'terraform-mode-hook #'terraform-format-on-save-mode))
(message "terraform-mode loaded")) (message "terraform-mode loaded"))
;; slime-mode
(when (memq 'slimemode whomp-development)
(use-package slime
:straight t
:ensure t)
(setq inferior-lisp-program "sbcl")
(message "SLIME loaded"))
;; lsp-mode ;; lsp-mode
(when (memq 'lspmode whomp-development) (when (memq 'lspmode whomp-development)
(straight-use-package 'lsp-mode) (straight-use-package 'lsp-mode)