1
0
Fork 0

fix(emacs): indent struct/contract correctly in racket

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2024-11-19 23:16:14 -05:00
parent bbb2528226
commit 68e83ec4a6
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47

View file

@ -46,7 +46,9 @@
("C-c C-z" . racket-edit-switch)) ("C-c C-z" . racket-edit-switch))
:hook :hook
((racket-mode . racket-xp-mode) ((racket-mode . racket-xp-mode)
(racket-mode . paredit-mode))) (racket-mode . paredit-mode))
:init
(put 'struct/contract 'racket-indent-function 1))
(use-package pollen-mode :straight t (use-package pollen-mode :straight t
:init :init
(setq auto-mode-alist (setq auto-mode-alist