diff options
| author | dalu <mou.tong@outlook.com> | 2024-09-03 08:55:58 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-02 17:55:58 -0700 |
| commit | e2e9b396b6f3269ad18a42f55b02c38aa11cec41 (patch) | |
| tree | 71064912cdba9664167288e29bb7fa534662fb5d /apheleia-formatters.el | |
| parent | 358deff920d5c9b3a6b4c858a75d66fd5ee9b53e (diff) | |
Add support for typstyle (#313)
Formatter for typst
https://github.com/Enter-tainer/typstyle
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 dfab5f8..b8c17ab 100644 --- a/apheleia-formatters.el +++ b/apheleia-formatters.el @@ -194,6 +194,7 @@ (rustfmt . ("rustfmt" "--quiet" "--emit" "stdout")) (terraform . ("terraform" "fmt" "-")) (treefmt . ("treefmt" "--stdin" filepath)) + (typstyle . ("typstyle")) (xmllint . ("xmllint" "--format" "-")) (yapf . ("yapf")) (yq-csv . ("yq" "--prettyPrint" "--no-colors" @@ -364,6 +365,8 @@ rather than using this system." (tuareg-mode . ocamlformat) (typescript-mode . prettier-typescript) (typescript-ts-mode . prettier-typescript) + (typst-mode . typstyle) + (typst-ts-mode . typstyle) (web-mode . prettier) (yaml-mode . prettier-yaml) (yaml-ts-mode . prettier-yaml) |
