refactor(format): replace with apheleia

Initial refactor of format module to replace format-all with apheleia
This commit is contained in:
Ellis Kenyő 2022-08-16 08:13:55 +01:00 committed by Ellis Kenyo
parent a44e8d6bfd
commit 4ecd616cd8
No known key found for this signature in database
GPG key ID: 298BE5D997EBAA02
9 changed files with 126 additions and 585 deletions

View file

@ -107,8 +107,6 @@
:commands ocamlformat
:hook (tuareg-mode-local-vars . +ocaml-init-ocamlformat-h)
:config
(set-formatter! 'ocamlformat #'ocamlformat
:modes '(caml-mode tuareg-mode))
;; TODO Fix region-based formatting support
(defun +ocaml-init-ocamlformat-h ()
(setq +format-with 'ocp-indent)