In Emacs for example any text in the form: -- mode: glsl -- will direct that buffer to be highlighted in that way. Does any similar feature exist in sublime? If not are there any exiting plugins that enable something similar? My use case is JavaScript files which are mostly glsl strings. I have a custom syntax that works well, but I wonder if I could avoid switching manually.
Thanks