From 23ff70c4ef428bf554b4448c860e9b61c2db84f4 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 14 Jul 2023 00:26:17 -0700 Subject: [PATCH] [oni-hy] Add configuration for Hy mode --- oni-hy.el | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 oni-hy.el diff --git a/oni-hy.el b/oni-hy.el new file mode 100644 index 0000000..54ebbb2 --- /dev/null +++ b/oni-hy.el @@ -0,0 +1,34 @@ +;;; oni-hy.el --- Configuration for hy-mode -*- lexical-binding: t; -*- + +;; Copyright (C) 2023 Tom Willemse + +;; Author: Tom Willemse +;; Keywords: local +;; Version: 2023.0714.002605 +;; Package-Requires: (hy-mode oni-paredit oni-yasnippet rainbow-delimiters) + +;; 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: + +;; My configuration for hy-mode. + +;;; Code: + +(add-hook 'hy-mode-hook 'rainbow-delimiters-mode) +(add-hook 'hy-mode-hook 'paredit-mode) +(add-hook 'hy-mode-hook 'yas-minor-mode) + +(provide 'oni-hy) +;;; oni-hy.el ends here