Use ocamlformat for caml-mode too (#94)

* fix: use ocamlformat for caml-mode too

* Update changelog

Co-authored-by: Radon Rosborough <radon.neon@gmail.com>
This commit is contained in:
Ellis Kenyő 2022-05-12 00:26:22 +01:00 committed by GitHub
parent a0737fd695
commit 83179060f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -13,6 +13,10 @@ The format is based on [Keep a Changelog].
`apheleia--run-formatter-function`. `apheleia--run-formatter-function`.
* Emacs 25 is no longer supported. * Emacs 25 is no longer supported.
### Enhancements
* Ocamlformat is now used in `caml-mode` in addition to `tuareg-mode`
([#94]).
### Formatters ### Formatters
* [dart-format](https://dart.dev/tools/dart-format) for Dart ([#89]). * [dart-format](https://dart.dev/tools/dart-format) for Dart ([#89]).
@ -22,6 +26,7 @@ The format is based on [Keep a Changelog].
[#33]: https://github.com/raxod502/apheleia/issues/33 [#33]: https://github.com/raxod502/apheleia/issues/33
[#89]: https://github.com/raxod502/apheleia/pull/89 [#89]: https://github.com/raxod502/apheleia/pull/89
[#94]: https://github.com/radian-software/apheleia/pull/94
## 2.0 ## 2.0
### Breaking changes ### Breaking changes

View file

@ -1028,6 +1028,7 @@ function: %s" command)))
'((cc-mode . clang-format) '((cc-mode . clang-format)
(c-mode . clang-format) (c-mode . clang-format)
(c++-mode . clang-format) (c++-mode . clang-format)
(caml-mode . ocamlformat)
(css-mode . prettier) (css-mode . prettier)
(dart-mode . dart-format) (dart-mode . dart-format)
(elixir-mode . mix-format) (elixir-mode . mix-format)