From 438359373e2796395b19566dadfe371183d99c80 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 26 Apr 2023 15:03:17 +0300 Subject: emacs: Add common lisp configuration Add slime for common lisp programming --- .emacs.d/init.el | 5 +++++ org/emacs.org | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 4d62bef..5ccf920 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -554,6 +554,11 @@ Contains the list of packages that need to be installed.") (add-hook 'emacs-lisp-mode-hook #'rainbow-delimiters-mode) (add-hook 'scheme-mode-hook #'rainbow-delimiters-mode) +(use-package slime + :ensure t + :config + (setq inferior-lisp-program "sbcl")) + (defun apollo/lsp-mode-setup () (setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols)) (lsp-headerline-breadcrumb-mode)) diff --git a/org/emacs.org b/org/emacs.org index 33419de..7a0c4d7 100755 --- a/org/emacs.org +++ b/org/emacs.org @@ -626,6 +626,13 @@ Hook with ~dired-mode~ (add-hook 'emacs-lisp-mode-hook #'rainbow-delimiters-mode) (add-hook 'scheme-mode-hook #'rainbow-delimiters-mode) #+end_src +** Common Lisp +#+begin_src emacs-lisp + (use-package slime + :ensure t + :config + (setq inferior-lisp-program "sbcl")) +#+end_src ** LSP #+begin_src emacs-lisp (defun apollo/lsp-mode-setup () -- cgit v1.2.3