Vetur uses prettyhtml for formatting.
View this document.
prettyhtml
The default formatter for Vue templates. Other settings include:
"vetur.format.defaultFormatterOptions": { "prettyhtml": { "printWidth": 100, // No line exceeds 100 characters "singleQuote": false // Prefer double quotes over single quotes } }
prettier options are read from local .prettierrc config.
You should change printWidth
First you need to make sure that the HTML Formatter for Vetur is pretty pretty: User Settings -> Extensions -> Vetur -> Format> Default Formatter: HTML
If so, try opening settings.json: Ctrl-Shift-P, Open Settings (JSON) and add settings here:
"vetur.format.defaultFormatterOptions": { "prettyhtml": {"printWidth": 300} }
If there are already other settings, do not forget the comma on the second last line.