Skip to content

Pug inside .vue file is treated as html and mis-formatted #5371

@homerjam

Description

@homerjam

The welcome PR #5259 has introduced an issue whereby a .vue file containing pug in the template (specified like so: <template lang="pug">) is treated as html and therefore mis-formatted.

This can be resolved using the <!-- prettier-ignore --> flag but ideally pug would be ignored by default (until full support could be added at later date).

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:vueIssues affecting Vuelocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.priority:highCode is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions