diff options
| author | Ellis KenyĆ <elken@users.noreply.github.com> | 2022-05-12 00:26:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-11 16:26:22 -0700 |
| commit | 83179060f21befac63b92210b8425638a61467ae (patch) | |
| tree | 58d3e85e856a5331d1d5ba4f5316a779acb4cbb5 | |
| parent | a0737fd69591f4186a626eb72ccd9488a6da437c (diff) | |
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>
| -rw-r--r-- | CHANGELOG.md | 5 | ||||
| -rw-r--r-- | apheleia.el | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6918167..2898c24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ The format is based on [Keep a Changelog]. `apheleia--run-formatter-function`. * Emacs 25 is no longer supported. +### Enhancements +* Ocamlformat is now used in `caml-mode` in addition to `tuareg-mode` + ([#94]). + ### Formatters * [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 [#89]: https://github.com/raxod502/apheleia/pull/89 +[#94]: https://github.com/radian-software/apheleia/pull/94 ## 2.0 ### Breaking changes diff --git a/apheleia.el b/apheleia.el index 4f8e147..0398837 100644 --- a/apheleia.el +++ b/apheleia.el @@ -1028,6 +1028,7 @@ function: %s" command))) '((cc-mode . clang-format) (c-mode . clang-format) (c++-mode . clang-format) + (caml-mode . ocamlformat) (css-mode . prettier) (dart-mode . dart-format) (elixir-mode . mix-format) |
