diff options
-rw-r--r-- | init.el | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/init.el b/init.el index 95f3687..de13f13 100644 --- a/init.el +++ b/init.el | |||
@@ -850,3 +850,18 @@ With PREFIX, prompt to change the current dictionary." | |||
850 | 850 | ||
851 | (use-package rec-mode | 851 | (use-package rec-mode |
852 | :ensure t) | 852 | :ensure t) |
853 | |||
854 | (use-package gauche-mode | ||
855 | :vc (:url "https://github.com/duckwork/gauche-mode") | ||
856 | :mode "\\.scm\\'" | ||
857 | :config | ||
858 | (setopt gauche-mode-info-language 'en | ||
859 | scheme-program-name "gosh -i" | ||
860 | scheme-compile-exp-command "%s") | ||
861 | (add-to-list 'scheme-source-modes 'gauche-mode) | ||
862 | (setf (alist-get "\\*scheme\\*" display-buffer-alist nil nil #'equal) | ||
863 | '((display-buffer-reuse-window | ||
864 | display-buffer-pop-up-window) | ||
865 | (inhibit-same-window . t))) | ||
866 | (add-hook 'gauche-mode-hook #'enable-gauche-paredit-mode) | ||
867 | (add-hook 'inferior-scheme-mode-hook #'enable-gauche-paredit-mode)) | ||