From 8f512dba3ee2eabae0dbfd8289b89d54c132cb87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 2 Dec 2023 02:16:34 +0200 Subject: [PATCH] Use `perltidy` as default formatter for `cperl-mode` (#260) Co-authored-by: Mohsin Kaleem --- CHANGELOG.md | 2 ++ apheleia-formatters.el | 1 + 2 files changed, 3 insertions(+) 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)