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

prettier/plugin-pug #80

Closed
fredericobenevides opened this issue Jul 15, 2020 · 4 comments
Closed

prettier/plugin-pug #80

fredericobenevides opened this issue Jul 15, 2020 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@fredericobenevides
Copy link

I'm trying to use coc-prettier with pug but it's not working.

my package.json has theses dependencies

"@prettier/plugin-pug": "^1.4.4",
"prettier": "^2.0.5",

I changed coc-settings.json to have:

"prettier.onlyUseLocalVersion": true

and ran the command inside a pug file

:CocCommand prettier.formatFile

and returned the error

pug not supported by prettier
@chemzqm chemzqm added the wontfix This will not be worked on label Jul 16, 2020
@chemzqm
Copy link
Member

chemzqm commented Jul 16, 2020

It's expected since this plugin doesn't have support for set prettier plugins yet.

@chemzqm chemzqm added help wanted Extra attention is needed and removed wontfix This will not be worked on labels Jul 16, 2020
@chemzqm
Copy link
Member

chemzqm commented Jul 16, 2020

I won't take time to fix this for now, it would be appreciated if somebody want to help.

@ryeballar
Copy link

prettier/plugin-pug#151 should resolve this issue once it is published.

@chemzqm
Copy link
Member

chemzqm commented Feb 20, 2022

Make sure install prettier plugin with the prettier that coc-prettier is using.

@chemzqm chemzqm closed this as completed Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants