OneDark-Pro icon indicating copy to clipboard operation
OneDark-Pro copied to clipboard

C++ and/or

Open ghost opened this issue 9 months ago • 0 comments

Describe the bug In C++, some operators were added such as and, or which really help making code readable. However on One Dark Pro, this is not colored. In other themes it is colored but on One Dark Pro it is treated as normal text.

To Reproduce Steps to reproduce the behavior:

  1. Open C++ project.
  2. Use and/or.
  3. No syntax highlighting for these specific words

Expected behavior I expected there to be syntax highlighting for this specific word but there isn't any, most themes I have seen do it purple.

Screenshots & Example Code This is how it looks on One Dark Pro. Image

This is how Sublime Text does it. Other themes also do something like this. Image

Desktop (please complete the following information):

  • OS: Debian 12 Bookworm
  • VSCODE Version: VSCodium 1.98.2
  • Theme version: 3.19.0

Additional context I'm using VSCodium however it shouldn't affect much since it's just a theme.

ghost avatar Mar 30 '25 22:03 ghost