summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-04-26 15:03:17 +0300
committerThanos Apollo <[email protected]>2023-04-26 15:05:14 +0300
commit438359373e2796395b19566dadfe371183d99c80 (patch)
treedc87294d893f6ab7f3ddf95d333760f24a24bc62
parent8d14e8ea5241c9a94724af7585ff55dcc640a9a6 (diff)
emacs: Add common lisp configuration
Add slime for common lisp programming
-rw-r--r--.emacs.d/init.el5
-rwxr-xr-xorg/emacs.org7
2 files changed, 12 insertions, 0 deletions
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 ()