Summary
The syntax highlighting that helix uses seems to have some issues with the character sequence '/*' within a string in C++ preprocessor symbols. It treats the character sequences as the start of a comment even though it is within a quoted string literal. When the language is set to 'c', it works, but it fails for 'cpp'.
Reproduction Steps
I tried this:
- download foo.cpp
hx foo.cpp
I expected this to happen:
it should highlight the int foo(); line as a function
Instead, this happened:
the int foo(); line is highlighted as a comment
Helix log
No response
Platform
Linux
Terminal Emulator
ptyxis
Installation Method
fedora package
Helix Version
helix 25.07.1 (a05c151)