diff options
| author | hgranthorner <37941012+hgranthorner@users.noreply.github.com> | 2024-10-17 19:29:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-17 23:29:37 +0000 |
| commit | 568ad0154d4ff07bdded17b404fb6b2086afd235 (patch) | |
| tree | 084a6004e8ca32a6e024c60e7aee3ed7867d0a31 /test/formatters/samplecode/zig-fmt/out.zig | |
| parent | d6f520752a77923a420f2ef894a6f2d26d29d7d0 (diff) | |
Add zig fmt support (#327)
Add support for the zig programming language using `zig fmt` for
`zig-mode` and `zig-ts-mode`.
---------
Co-authored-by: Radon Rosborough <radon@intuitiveexplanations.com>
Diffstat (limited to 'test/formatters/samplecode/zig-fmt/out.zig')
| -rw-r--r-- | test/formatters/samplecode/zig-fmt/out.zig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/formatters/samplecode/zig-fmt/out.zig b/test/formatters/samplecode/zig-fmt/out.zig new file mode 100644 index 0000000..8a4584e --- /dev/null +++ b/test/formatters/samplecode/zig-fmt/out.zig @@ -0,0 +1,9 @@ +const Foo = struct { a: u32 }; + +const Bar = struct { + b: u32, +}; + +pub fn thing(a: f32) f32 { + return a; +} |
