Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possible zig fmt malfunction #18790

Closed
p7r0x7 opened this issue Feb 3, 2024 · 2 comments
Closed

possible zig fmt malfunction #18790

p7r0x7 opened this issue Feb 3, 2024 · 2 comments
Labels
bug Observed behavior contradicts documented or intended behavior

Comments

@p7r0x7
Copy link

p7r0x7 commented Feb 3, 2024

Zig Version

0.12.0-dev.2542+5a3ae38f3

Steps to Reproduce and Observed Behavior

I believe lines after // zig fmt: off are not linted by zig fmt even if // zig fmt: on is additionally specified to resume formatting.

Expected Behavior

I expected formatting to resume for proceeding characters.

@p7r0x7 p7r0x7 added the bug Observed behavior contradicts documented or intended behavior label Feb 3, 2024
@nektro
Copy link
Contributor

nektro commented Feb 3, 2024

you didn't post any code but this is likely a duplicate of #10418

@p7r0x7
Copy link
Author

p7r0x7 commented Feb 3, 2024

yeah lol
Screenshot 2024-02-02 at 7 32 25 PM

@p7r0x7 p7r0x7 closed this as completed Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Observed behavior contradicts documented or intended behavior
Projects
None yet
Development

No branches or pull requests

2 participants