astrale-sharp / typstfmt

Apache License 2.0
253 stars 25 forks source link

Pre-commit hook #146

Closed Ciflire closed 9 months ago

Ciflire commented 9 months ago

[ x] I have tested with the master version of typstfmt and not just typst-lsp

Describe the bug The pre-commit hook downloads and uses a packaged version of rust.

Multiple inconvenients, it kinda installs rustup For nixos users, rustup as a binary will not work

To Reproduce Steps to reproduce the behavior: Just use the pre-commit hook as described in the readme