diff options
| author | Ville Skyttä <ville.skytta@iki.fi> | 2023-12-15 04:30:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-14 18:30:35 -0800 |
| commit | 53c0389b5ed23f0ead92d782e4f14d8780fb18e7 (patch) | |
| tree | ecbab66248295a59fb41849ed02f4c230822d456 /apheleia-formatters.el | |
| parent | f3cbdbcae88d17c5f3b7d3de53c9251bb77892cb (diff) | |
Add support for `dprint` (#249)
https://dprint.dev
---------
Co-authored-by: Radon Rosborough <radon@intuitiveexplanations.com>
Diffstat (limited to 'apheleia-formatters.el')
| -rw-r--r-- | apheleia-formatters.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apheleia-formatters.el b/apheleia-formatters.el index e1ce8c1..c5e7f93 100644 --- a/apheleia-formatters.el +++ b/apheleia-formatters.el @@ -56,6 +56,7 @@ (denofmt-md . ("deno" "fmt" "-" "--ext" "md")) (denofmt-ts . ("deno" "fmt" "-" "--ext" "ts")) (denofmt-tsx . ("deno" "fmt" "-" "--ext" "tsx")) + (dprint . ("dprint" "fmt" "--stdin" filepath)) (elm-format . ("elm-format" "--yes" "--stdin")) (fish-indent . ("fish_indent")) (fourmolu . ("fourmolu")) @@ -291,12 +292,14 @@ rather than using this system." (cmake-mode . cmake-format) (cmake-ts-mode . cmake-format) (common-lisp-mode . lisp-indent) + (conf-toml-mode . dprint) (cperl-mode . perltidy) (crystal-mode . crystal-tool-format) (css-mode . prettier-css) (css-ts-mode . prettier-css) (dart-mode . dart-format) (dart-ts-mode . dart-format) + (dockerfile-mode . dprint) (elixir-mode . mix-format) (elixir-ts-mode . mix-format) (elm-mode . elm-format) |
