diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/init.el b/init.el index 05a1382..1b4ba12 100644 --- a/init.el +++ b/init.el | |||
@@ -737,14 +737,20 @@ if ripgrep is installed, otherwise `consult-grep'." | |||
737 | (setup (:straight eros) | 737 | (setup (:straight eros) |
738 | (:hook-into emacs-lisp-mode))) | 738 | (:hook-into emacs-lisp-mode))) |
739 | 739 | ||
740 | (when-let (lisp-bin (or (executable-find "sbcl") | ||
741 | (executable-find "clisp"))) | ||
742 | (setup (:straight slime) | ||
743 | (require 'slime-autoloads) | ||
744 | (:option inferior-lisp-program lisp-bin))) | ||
745 | |||
746 | (setup (:straight geiser)) | ||
747 | |||
740 | (when (executable-find "fennel") | 748 | (when (executable-find "fennel") |
741 | (setup (:straight fennel-mode) | 749 | (setup (:straight fennel-mode) |
742 | (autoload 'fennel-mode "fennel-mode" nil t) | 750 | (autoload 'fennel-mode "fennel-mode" nil t) |
743 | (autoload 'fennel-repl "fennel-mode" nil t) | 751 | (autoload 'fennel-repl "fennel-mode" nil t) |
744 | (:option (append auto-mode-alist) '("\\.fnl\\'" . fennel-mode)))) | 752 | (:option (append auto-mode-alist) '("\\.fnl\\'" . fennel-mode)))) |
745 | 753 | ||
746 | (setup (:straight geiser)) | ||
747 | |||
748 | (setup (:straight lua-mode) | 754 | (setup (:straight lua-mode) |
749 | (:option (append auto-mode-alist) '("\\.lua\\'" . lua-mode))) | 755 | (:option (append auto-mode-alist) '("\\.lua\\'" . lua-mode))) |
750 | 756 | ||