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

Handle the line prefix correctly #780

Merged
merged 7 commits into from
Oct 22, 2023

Conversation

toku-sa-n
Copy link
Collaborator

@toku-sa-n toku-sa-n commented Oct 22, 2023

Description of the PR

Fixes: #779

Checklist

HIndint currently can't handle CPPs well, and thus there is an empty
line after the `where`, and lines containing only spaces inside it, but
this PR is still useful as it prevents HIndint from panicking
unnecessarily.
@toku-sa-n toku-sa-n marked this pull request as ready for review October 22, 2023 02:13
TESTS.md Outdated Show resolved Hide resolved
Signed-off-by: Mihai Maruseac <mihai.maruseac@gmail.com>
@mihaimaruseac mihaimaruseac merged commit ffc9653 into mihaimaruseac:master Oct 22, 2023
20 checks passed
@toku-sa-n toku-sa-n deleted the cpp-and-empty-lines branch October 23, 2023 14:15
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.

HIndent can't format a code with CPPs and empty lines
2 participants