In GLSL there's a tan function and coc-highlight interprets it as the color and highlights it. E.g. here return fract(tan(distance(xy * PHI, xy) * seed) * xy.x); the tan is highlighted even if it doesn't mean anything in the context. I think it'd make sense to add an option to disable the highlighting of color words ("blue", "red", ...) so that this kind of thing doesn't happen.
In GLSL there's a
tan
function and coc-highlight interprets it as the color and highlights it. E.g. herereturn fract(tan(distance(xy * PHI, xy) * seed) * xy.x);
the tan is highlighted even if it doesn't mean anything in the context. I think it'd make sense to add an option to disable the highlighting of color words ("blue", "red", ...) so that this kind of thing doesn't happen.