You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
coc-prettier is a fork of prettier-vscode where its implementation heavily relies on the the file type defined in vim and the vscodeLanguageIds defined in the plugin being supported.
I'm currently using vim-pug for syntax highlighting which maps any file or buffer with the extension .pug or .jade to the pug editor file type. coc-prettier will compare that pug file type against all vscodeLanguageIds gathered across different prettier plugins which will unfortunately fail since plugin-prettier defines vscodeLanguageIds with [ "jade" ].
Resolution:
Add pug in the vscodeLanguageIds array.
The text was updated successfully, but these errors were encountered:
This has now been released 1.10.1
Please let me know if it works the way you want it
Thank you for using my plugin and for being part of the pug community 🤗
Info
The Issue
coc-prettier is a fork of prettier-vscode where its implementation heavily relies on the the file type defined in vim and the vscodeLanguageIds defined in the plugin being supported.
I'm currently using vim-pug for syntax highlighting which maps any file or buffer with the extension .pug or .jade to the pug editor file type. coc-prettier will compare that pug file type against all vscodeLanguageIds gathered across different prettier plugins which will unfortunately fail since plugin-prettier defines vscodeLanguageIds with
[ "jade" ]
.Resolution:
Add pug in the vscodeLanguageIds array.
The text was updated successfully, but these errors were encountered: