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

Strange indentation behaviour in comments #16

Closed
aDogCalledSpot opened this issue Feb 12, 2024 · 1 comment
Closed

Strange indentation behaviour in comments #16

aDogCalledSpot opened this issue Feb 12, 2024 · 1 comment

Comments

@aDogCalledSpot
Copy link

The following adds a blank line after the last comment:

html! {
    <MyComponent>
        { very_long_arg_name_example1 }
        { very_long_arg_name_example2 }
        // { very_long_arg_name_example3 }
        // { very_long_arg_name_example4 }
    </MyComponent>
}

Adding a third comment does the following:

html! {
    <MyComponent>
        { very_long_arg_name_example1 }
        { very_long_arg_name_example2 }
        // { very_long_arg_name_example3 }
        // { very_long_arg_name_example4 }
         // { very_long_arg_name_example5 }
         
    </MyComponent>
}
its-the-shrimp added a commit that referenced this issue Feb 16, 2024
@its-the-shrimp
Copy link
Owner

Thank you for reporting this, should be fixed in v0.5

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

No branches or pull requests

2 participants