Checklist
If Disabling that^ makes the problem go away, then follow this to make an issue on the C++ extension:
https://github.com/microsoft/vscode-cpptools/issues/new/choose
The code with a problem is:
int main() {
auto add = [&](int a, int b) -> int{
return a + b;
};
return 0;
}
The opening curly doesn't get the punctuation.section.block.begin.bracket.curly.lambda.cpp unless you add a space before it.
It looks like:
It should look like:
add a space and it bacame normal
Originally from @leibidontknow in microsoft/vscode#305042
Checklist
"C_Cpp.enhancedColorization": "Disabled"If Disabling that^ makes the problem go away, then follow this to make an issue on the C++ extension:
https://github.com/microsoft/vscode-cpptools/issues/new/choose
The code with a problem is:
The opening curly doesn't get the
punctuation.section.block.begin.bracket.curly.lambda.cppunless you add a space before it.It looks like:
It should look like:
add a space and it bacame normal
Originally from @leibidontknow in microsoft/vscode#305042