diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/init.el b/init.el index 05a1382..1eae7e0 100644 --- a/init.el +++ b/init.el | |||
@@ -737,13 +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 | (setup (:straight geiser)) | ||
741 | |||
742 | (when-let (lisp-bin (or (executable-find "clisp") | ||
743 | (executable-find "sbcl"))) | ||
744 | (setup (:straight slime) | ||
745 | (require 'slime-autoloads) | ||
746 | (:option inferior-lisp-program lisp-bin))) | ||
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 | 754 | ||
748 | (setup (:straight lua-mode) | 755 | (setup (:straight lua-mode) |
749 | (:option (append auto-mode-alist) '("\\.lua\\'" . lua-mode))) | 756 | (:option (append auto-mode-alist) '("\\.lua\\'" . lua-mode))) |