mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 08:38:56 +01:00
[html] files.insertFinalNewline affects embedded styles (#179118)
This commit is contained in:
committed by
GitHub
parent
f481836a89
commit
92b87b0fd5
@@ -49,9 +49,6 @@ export function getHTMLMode(htmlLanguageService: HTMLLanguageService, workspace:
|
||||
} else {
|
||||
formatSettings.contentUnformatted = 'script';
|
||||
}
|
||||
if (formatParams.insertFinalNewline) {
|
||||
formatSettings.endWithNewline = true;
|
||||
}
|
||||
merge(formatParams, formatSettings);
|
||||
return htmlLanguageService.format(document, range, formatSettings);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user