-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C++ raw string highlighting #13
Comments
Hm, I'm not sure if this is possible. I know we can specify sub-language, like javascript in an HTML file, but it is hard to detect here, just from the context, that it correspond to a specific shader language. |
Raw string literals in C++ follow this syntax:
Delimiter is user defined and It could be detected by using a special delimiter as convention that tells the shader syntax needed, like:
|
Hm, that's right, I forgot this C++11 feature. I'll double-check the VSCode documentation, to see if it's possible to add |
fixes stef-levesque#13 fixed highlighting of attributes inside HTML <glsl> tag
Is it possible to highlight shader code inside C++11 raw strings?
For example, highlight this.
The text was updated successfully, but these errors were encountered: