diff --git a/CHANGELOG.md b/CHANGELOG.md index 29c6e36..cf8c6ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog]. ## Unreleased ### Enhancements +* Use `perltidy` as default formatter for `cperl-mode` ([#260]). * The `perltidy` formatter now supports Emacs indentation and line length settings ([#261]). @@ -21,6 +22,7 @@ The format is based on [Keep a Changelog]. js, jsx, ts, tsx, json, jsonc, md files. ([#264]) [#229]: https://github.com/radian-software/apheleia/pull/229 +[#260]: https://github.com/radian-software/apheleia/pull/260 [#261]: https://github.com/radian-software/apheleia/pull/261 [#263]: https://github.com/radian-software/apheleia/pull/263 [#264]: https://github.com/radian-software/apheleia/pull/264 diff --git a/apheleia-formatters.el b/apheleia-formatters.el index 884a07b..ed9f590 100644 --- a/apheleia-formatters.el +++ b/apheleia-formatters.el @@ -279,6 +279,7 @@ rather than using this system." (cmake-mode . cmake-format) (cmake-ts-mode . cmake-format) (common-lisp-mode . lisp-indent) + (cperl-mode . perltidy) (crystal-mode . crystal-tool-format) (css-mode . prettier-css) (css-ts-mode . prettier-css)