From b1869f02faeb0540f05e9b14737359b6be85f5ff Mon Sep 17 00:00:00 2001 From: SouthFox Date: Mon, 11 Mar 2024 19:56:58 +0800 Subject: [PATCH] [feat] add hy auto mode --- elisp/hy.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/elisp/hy.el b/elisp/hy.el index e40d7d3..1856603 100644 --- a/elisp/hy.el +++ b/elisp/hy.el @@ -326,6 +326,9 @@ (setq font-lock-defaults '(hy-font-lock-kwds))) +;;;###autoload +(add-to-list 'auto-mode-alist '("\\.hy\\'" . hy-mode)) + ;;;###autoload (define-derived-mode hy-mode prog-mode "Hy" "Major mode for editing Hy files."