Commit graph

10 commits

Author SHA1 Message Date
Mohsin Kaleem
edec1e61c8
Add various helper functions for defining formatters (#166) 2023-03-25 14:56:54 +00:00
Radon Rosborough
782db66457 Fix formatter tests 2023-03-17 18:53:52 -07:00
Mohsin Kaleem
a7800ac50b Revert "Update tests to fix failures from formatter definition changes"
This reverts commit e2062d612d.
2023-03-12 10:50:44 +00:00
Mohsin Kaleem
e2062d612d Update tests to fix failures from formatter definition changes 2023-03-12 10:45:14 +00:00
Mohsin Kaleem
3e93610387
Separate formatters definitions from core apheleia library (#161)
Moves the bulk of apheleia.el into a new apheleia-core.el file and move
formatter definitions and mode-associations into a new
apheleia-formatters.el file. The end user experience should be
unchanged. Loading `apheleia.el` will still load everything load
everything, just like it used to.
2023-03-12 10:22:36 +00:00
Ellis Kenyő
9101a3380c
Assume filename correctly (#128)
Fixes #108

Co-authored-by: Radon Rosborough <radon@intuitiveexplanations.com>
2022-09-13 19:05:22 -07:00
Ellis Kenyő
9b745df2fa
Add emacs-lisp formatting (#102)
* feat: add emacs-lisp formatting

* Disable indent-tabs-mode

* Add stub file for installation

* Fix lint errors

* fix: correctly format based on previous mode

* Formatting

* Fix weird indent

* Add checkindent target

* Update changelog

* Long line

* Empty commit

* fix ci

* revert changelog reformatting

* more changelog

* more

Co-authored-by: Radon Rosborough <radon.neon@gmail.com>
Co-authored-by: Radon Rosborough <radon@intuitiveexplanations.com>
2022-09-03 11:22:35 -07:00
Radon Rosborough
b25256f1b0 [#99] Remove erroneous reference to master 2022-06-03 17:41:25 -07:00
Ellis Kenyő
982df5a2e0
Add phpcs & introduce scripts/formatters (#87)
* feat: add phpcs & introduce scripts/formatters

Add phpcs as a supported formatter, and include support for
apheleia-defined scripts for more troublesome formatters

* Revert Emacs version requirement

* More quoting

* Adjust language in documentation

* Thanks checkdoc, lol

Co-authored-by: Radon Rosborough <radon.neon@gmail.com>
2022-05-11 16:26:33 -07:00
Radon Rosborough
53f243b111
Add formatter tests (#72)
Closes #24
Builds on #25 by @PrimaryCanary
2022-01-05 15:35:12 -08:00