I'm using Regl which integrates glsl vertex and fragment shaders as strings within a javascript file. I'd like to have syntax highlighting in Visual Studio Code apply to the glsl code within the strings, e.g.:
var regl = createREGL();
var drawTriangle = regl({
// fragment shader
frag: \` // want to apply syntax higlighting to code within string
precision mediump float;
uniform vec4 color;
void main () {
gl_FragColor = color;
}`,
...