pawnfmt
A fast, deterministic formatter for Pawn (SA-MP / open.mp) source: .pwn
and .inc files.
Documentation
These docs cover the parts of pawnfmt people usually need once they move
past the quick start:
For a ready-to-edit config file, run:
pawnfmt --init-config
That writes a commented pawnfmt.toml with every option set to its default
value.
Editor / CI integration
A pre-commit hook is available via
.pre-commit-hooks.yaml:
- repo: https://github.com/pawnkit/pawnfmt
rev: <tag>
hooks:
- id: pawnfmt