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

Markup attributes forced to new line if followed by comment #632

Open
spider-mane opened this issue Feb 21, 2020 · 0 comments
Open

Markup attributes forced to new line if followed by comment #632

spider-mane opened this issue Feb 21, 2020 · 0 comments

Comments

@spider-mane
Copy link

spider-mane commented Feb 21, 2020

In twig, whenever a comment starts the first non-empty line following an opening tag, the attributes are forced onto a new line and indented.

<div class="container text-white-90">

  {# brand/ logo #}

becomes

<div 
  class="container text-white-90">

  {# brand/ logo #}

I'm using the Twig Language VS Code extension, but this also happens on the website demo.

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

1 participant