We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, I am trying to stylize a definition to make it clearer at a first glance:
ifStatement = { "if" ~ space+ ~ ifStatementMatch ~ newline+ ~ (space+)? ~ "then" ~ (space+ | newline+) ~ (#then_block = statement)+ ~ (newline+ ~ "else" ~ newline+ ~ (#else_block = statement)+)? ~ newline+ ~ (space+)? ~ "fi" }
But when I save the file, it turns into this:
Which just compresses everything into one line. Is there a way or possibility of selectively disabling formatting for an arbitrary definition?
The text was updated successfully, but these errors were encountered:
I've transferred this to pest-fmt since IDE tools just calls that.
I presume you want a comment syntax like // pest-fmt-disable which disables formatting for the next rule definition?
// pest-fmt-disable
Sorry, something went wrong.
Yes, that would be preferable.
Seconded!
No branches or pull requests
Currently, I am trying to stylize a definition to make it clearer at a first glance:
But when I save the file, it turns into this:
Which just compresses everything into one line. Is there a way or possibility of selectively disabling formatting for an arbitrary definition?
The text was updated successfully, but these errors were encountered: