Add racket formatting

This commit is contained in:
2026-06-27 12:47:30 -07:00
parent fa7e1351a8
commit 9a563234ce
+5
View File
@@ -1612,6 +1612,11 @@ With PROJECT, give diagnostics for all buffers in the current project."
(setq-local apheleia-inhibit t))
:config
(apheleia-global-mode 1)
(add-to-list 'apheleia-formatters
'(raco-fmt "raco" "fmt"
(apheleia-formatters-fill-column "--width")))
(add-to-list 'apheleia-mode-alist
'(racket-mode . lisp-indent))
(setf (alist-get 'java-mode apheleia-mode-alist) 'clang-format
(alist-get 'java-ts-mode apheleia-mode-alist) 'clang-format))