From 71f071083d2a9851d7f560a58c5aa955ca4ab6fa Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 26 Feb 2019 22:49:41 -0800 Subject: [PATCH] Add oni-scheme --- oni-scheme.el | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 oni-scheme.el diff --git a/oni-scheme.el b/oni-scheme.el new file mode 100644 index 0000000..56ab062 --- /dev/null +++ b/oni-scheme.el @@ -0,0 +1,39 @@ +;;; oni-scheme.el --- Scheme configuration -*- lexical-binding: t; -*- + +;; Copyright (C) 2019 Tom Willemse + +;; Author: Tom Willemse +;; Keywords: local +;; Version: 20190226224653 +;; Package-Requires: (oni-company paredit rainbow-delimiters fill-column-indicator) + +;; This program is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see . + +;;; Commentary: + +;; Scheme configuration. + +;;; Code: + +(add-hook 'scheme-mode-hook 'company-mode) +(add-hook 'scheme-mode-hook 'fci-mode) +(add-hook 'scheme-mode-hook 'paredit-mode) +(add-hook 'scheme-mode-hook 'rainbow-delimiters-mode) + +(add-to-list 'interpreter-mode-alist '("scsh" . scheme-mode)) + +;;;###autoload(with-eval-after-load 'scheme (require 'oni-scheme)) + +(provide 'oni-scheme) +;;; oni-scheme.el ends here