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

VS-Code usage produces incorrect output #50

Closed
mfeckie opened this issue May 13, 2021 · 1 comment
Closed

VS-Code usage produces incorrect output #50

mfeckie opened this issue May 13, 2021 · 1 comment

Comments

@mfeckie
Copy link

mfeckie commented May 13, 2021

assets/package.json

  "devDependencies": {
     ...
    "prettier": "^2.3.0",
    "prettier-plugin-eex": "^0.5.0",

settings.json

{
  "prettier.prettierPath": "./assets/node_modules/prettier"
}

Given

<header class="" role="navigation" x-data="{ open: false }">
    <%= render "_user_menu.html", assigns %>
</header>

I get this output

<header class="" role="navigation" x-data="{ open: false }">
  <eext1 />
</header>

Executing via command line./assets/node_modules/.bin/prettier --write *******/templates/layout/_nav_bar.html.eex produces same output

@adamzapasnik
Copy link
Owner

Hey @mfeckie
Please take a look at #51

@mfeckie mfeckie closed this as not planned Won't fix, can't repro, duplicate, stale Aug 5, 2022
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