aboutsummaryrefslogtreecommitdiffstats
path: root/oni-hy.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2023-07-14 00:26:17 -0700
committerGravatar Tom Willemse2023-07-14 00:26:17 -0700
commit23ff70c4ef428bf554b4448c860e9b61c2db84f4 (patch)
tree1f5dd3385d2f94e6df82a8f98298185b4dd3f697 /oni-hy.el
parente38bb344e4196aa2a1488e9611d1ccecdeb5acd6 (diff)
downloademacs-config-23ff70c4ef428bf554b4448c860e9b61c2db84f4.tar.gz
emacs-config-23ff70c4ef428bf554b4448c860e9b61c2db84f4.zip
[oni-hy] Add configuration for Hy mode
Diffstat (limited to 'oni-hy.el')
-rw-r--r--oni-hy.el34
1 files changed, 34 insertions, 0 deletions
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 <tom@ryuslash.org>
+;; 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 <https://www.gnu.org/licenses/>.
+
+;;; 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