I had a similar problem a while ago, and I fixed it by editing the 'TeX' language definition, changing the end delimeter of string.other.math.tex as follows:<br><br> …<br> { name = 'string.other.math.tex
';<br> begin = '\$';<br> end = '\}|\$';<br> …<br><br>It has worked without trouble for me. Since other people are having similar problems, perhaps this change should be applied.
<br><br>Robin<br>