Skip to content

Issue formatting inline comments #79

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

Closed
LaurelOlson opened this issue Mar 9, 2023 · 1 comment
Closed

Issue formatting inline comments #79

LaurelOlson opened this issue Mar 9, 2023 · 1 comment

Comments

@LaurelOlson
Copy link

Comments on the same line as the haml cause the formatter to stall/hang

%span= foobar # some comment

Comments on their own line are OK:

-# some comment
%span = foobar
@kddnewton
Copy link
Member

Sorry about that! It was an issue in the pretty-printing library causing it to hang forever. If you update prettier_print in your bundle to 1.2.1 this should be fixed now.

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