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
The formatter currently does not preserve newlines after function-like decls (event, function, hook), e.g.,
event
function
hook
event zeek_init() {} # event zeek_init() {}
is formatted as
event zeek_init() { }# event zeek_init() {}
Formatting the output again leads to more reformatting (new space after #) pointing to an idempotency violation (#26),
#
event zeek_init() { } # event zeek_init() {}
This makes it hard in code where one needs to selectively comment out blocks of code.
The text was updated successfully, but these errors were encountered:
Preserve newlines before comments
28537b8
Closes #62.
c15038f
ac10830
bbannier
Successfully merging a pull request may close this issue.
The formatter currently does not preserve newlines after function-like decls (
event
,function
,hook
), e.g.,is formatted as
Formatting the output again leads to more reformatting (new space after
#
) pointing to an idempotency violation (#26),This makes it hard in code where one needs to selectively comment out blocks of code.
The text was updated successfully, but these errors were encountered: