When editing a .tex file, is it possible to change the syntax highlighting after a file is loaded so that @ is able to be recognized as part of a command? Normally, this is done at load-time when .sty, .cls, etc. is the extension, but there are times when .tex files have "special" syntax in which it would be nice to behave as though .sty were the extension.
I have been using the trick of making a .sty file that is a symbolic link to the .tex file, but I am wondering if there is another way, such as through a modeline.