This is a followup of Incorrect TeX expression in quote block breaks indexing
There are two main issues
- Indexing shouldn’t break from invisible syntax errors.
- If a construct is not supported / illegal it should be highlighted as such.
It’s very hard to notice there are results that aren’t showing up. Then, once you notice, it’s difficult to understand why it’s not working.