I'm using TeXstudio and for a while now, every time I write in math mode using
\[...\], it highlights most of the commands as if they were syntax errors although it compiles just fine. For example, it highlights
^. However, it works properly if I use certain environments such as
equation. Does anyone know what may be the problem here and how to fix it?