[feat] add hy auto mode

This commit is contained in:
SouthFox 2024-03-11 19:56:58 +08:00
parent 3ba5c7e899
commit b1869f02fa

View file

@ -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."