I noticed that bracket matching is not working in LaTeX math mode (for example between $...$).
I guess this is connected to the fact that math mode is a sub-scope of string (string.other.math.tex)...
however math mode has very different "use-cases" than strings.
I could just go in the language definition and change the scope assignment but I do not know if this could break other things.
Any ideas on the best way of solving the problem? What would a better substitute for string as a scope?