aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2023-12-02 02:16:34 +0200
committerGitHub <noreply@github.com>2023-12-01 16:16:34 -0800
commit8f512dba3ee2eabae0dbfd8289b89d54c132cb87 (patch)
treeedec167472dfe96220abdf31cbba4ed51fcfcaad
parentfe27888c6b3f546054b00e7da0b65f2f2f5d5d20 (diff)
Use `perltidy` as default formatter for `cperl-mode` (#260)
Co-authored-by: Mohsin Kaleem <mohkale@kisara.moe>
-rw-r--r--CHANGELOG.md2
-rw-r--r--apheleia-formatters.el1
2 files changed, 3 insertions, 0 deletions
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)