Skip to content

Conversation

Techatrix
Copy link
Member

We don't need to call zig fmt because we can format the code ourself with std.zig.Ast.render. This should provide a more stable experience with formatting because don't need to spawn a child process and don't depend on a zig executable for formatting.

Copy link
Member

@SuperAuguste SuperAuguste left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing.

@SuperAuguste SuperAuguste merged commit 662b560 into zigtools:master Nov 16, 2022
@Techatrix Techatrix deleted the fmt-with-tree-render branch November 16, 2022 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants