Skip to content

Commit ebb2476

Browse files
authored
Fix vcFormat. (#9923)
1 parent b0182fd commit ebb2476

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)