feat(format): add :lang hy formatter

This commit is contained in:
Ellis Kenyő 2022-08-16 20:08:40 +01:00 committed by Ellis Kenyo
parent efd5ee00ea
commit 856d365f2f
No known key found for this signature in database
GPG key ID: 298BE5D997EBAA02

View file

@ -5,4 +5,5 @@
:interpreter "hy" :interpreter "hy"
:config :config
(set-repl-handler! 'hy-mode #'hy-shell-start-or-switch-to-shell) (set-repl-handler! 'hy-mode #'hy-shell-start-or-switch-to-shell)
(set-formatter! 'lisp-indent #'apheleia--indent-lisp-buffer :modes '(hy-mode))
(set-company-backend! 'hy-mode 'company-hy)) (set-company-backend! 'hy-mode 'company-hy))