Prettier-vscode: [BUG] Prettier is not disabled for vue

Created on 1 Jun 2018  路  5Comments  路  Source: prettier/prettier-vscode

By default prettier is disabled for vue language. But this setting is not respected by prettier. Prettier formatter is always on for .vue files unless I toggle formatter on/off.

No local or global installation of prettier package.

Windows 10 x64

locked need more info

Most helpful comment

Off-course this: "vetur.format.defaultFormatter.html": "js-beautify-html" is the problem!

All 5 comments

by default "vue" is in prettier.disableLanguages.
I don't get what you mean. Your vue file can be formatted by Vetur extension

Although, vue is disabled for prettier, but prettier still tries to format the vue document. (Unless I disable formating in vscode completely)

Disable Vetur ?

Off-course this: "vetur.format.defaultFormatter.html": "js-beautify-html" is the problem!

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Connorelsea picture Connorelsea  路  4Comments

finalclass picture finalclass  路  4Comments

DanielHabenicht picture DanielHabenicht  路  4Comments

peralmq picture peralmq  路  3Comments

bluemoehre picture bluemoehre  路  3Comments