better-cpp-syntax
better-cpp-syntax copied to clipboard
case keyword followed by character literal without space breaks syntax highlighting
Checklist
- [X] This problem exists even with the setting
"C_Cpp.enhancedColorization": "Disabled"
- [ ] This bug exists for C
- [X] This bug exists for C++
- [ ] This bug exists for Objective-C
- [ ] This bug exists for Objective-C++
The code with a problem is:
switch(i)
{
case'g':break;
case'H':break;
case'\0':break;
case'\'':break;
case'\\':break;
}
It looks like:
Theme: Monokai
It should look like:
(Screenshot taken from C)