dotfiles/emacs/.emacs.d/init/oni-scheme-init.org

525 B

Scheme config

Enable paredit mode.

  (add-hook 'scheme-mode-hook 'paredit-mode)

Add scsh to the list of known interpreters for scheme mode. This way shell-scripts that don't have a file extension but specify scsh as the interpreter are opened in scheme mode.

  (add-to-list 'interpreter-mode-alist '("scsh" . scheme-mode))

Enable rainbow delimiters mode.

  (add-hook 'scheme-mode-hook 'rainbow-delimiters-mode)