Skip to content

Commit 2855600

Browse files
authored
Merge pull request #9924 from microsoft/main
Fix vcFormat. (#9923)
2 parents 0c0f78d + ebb2476 commit 2855600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/src/LanguageServer/settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ export class CppSettings extends Settings {
735735
// This is intentionally not async to avoid races due to multiple entrancy.
736736
public useVcFormat(document: vscode.TextDocument): boolean {
737737
if (this.formattingEngine !== "default") {
738-
return this.formattingEngine === "vcFormat";
738+
return this.formattingEngine === "vcformat";
739739
}
740740
if (this.clangFormatStyle !== "file") {
741741
// If a clang-format style other than file is specified, don't try to switch to vcFormat.

0 commit comments

Comments
 (0)