diff options
author | 2019-02-26 22:49:41 -0800 | |
---|---|---|
committer | 2019-02-26 22:49:41 -0800 | |
commit | 71f071083d2a9851d7f560a58c5aa955ca4ab6fa (patch) | |
tree | d0cbba8b87e9f8fc7aa25ca1b2ea3500559af19a /oni-scheme.el | |
parent | 811ba7d038ac6e3e5f4b99fd5e95cf556a09af38 (diff) | |
download | emacs-config-71f071083d2a9851d7f560a58c5aa955ca4ab6fa.tar.gz emacs-config-71f071083d2a9851d7f560a58c5aa955ca4ab6fa.zip |
Add oni-scheme
Diffstat (limited to 'oni-scheme.el')
-rw-r--r-- | oni-scheme.el | 39 |
1 files changed, 39 insertions, 0 deletions
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 <tom@ryuslash.org> +;; 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 <https://www.gnu.org/licenses/>. + +;;; 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 |