Skip to content

Commit 5f7e208

Browse files
authored
Fix issue with clang-format on-type failing at end of file (#5995)
1 parent 80f41b7 commit 5f7e208

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Extension/src/LanguageServer/client.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -811,8 +811,8 @@ class OnTypeFormattingEditProvider implements vscode.OnTypeFormattingEditProvide
811811
line: position.line
812812
},
813813
end: {
814-
character: position.character,
815-
line: position.line
814+
character: 0,
815+
line: 0
816816
}
817817
}
818818
};

0 commit comments

Comments
 (0)