Releases
v4.1
Enhancements
Use perltidy
as default formatter for cperl-mode
(#260 ).
The perltidy
formatter now supports Emacs indentation and line length settings (#261 ).
Indent level is now determined for graphql-mode
, html-mode
, ruby-mode
, ruby-ts-mode
, svelte-mode
, and yaml-mode
(#258 ).
Indent level support when using yq to format JSON, XML, and YAML (#259 ).
Formatters
dprint
for various (depending on installed plugins ) (#209 ).
js-beautify
for JavaScript , JSON , HTML and CSS (#229 )
python3-json
for JSON (#257 ).
robotidy
for Robot Framework files (#263 ).
ruff-isort
for Python imports using ruff (#279 ).
denofmt for js, jsx, ts, tsx, json, jsonc, md files. (#264 )
docformatter for Python docstrings (#267 )
cljfmt for clojure, clojurescript, edn files. (#271 )
Stylua is used now in lua-ts-mode
as well as just lua-mode
, by default (#275 ).
treefmt
for project configured formatters ([#280 ]).
pyang
for YANG (#282 ).
Bugs fixed
Apheleia sometimes failed to determine indent level from Emacs settings even when configured to do so. This is fixed (#274 ).
You can’t perform that action at this time.