tree-sitter-latex
tree-sitter-latex copied to clipboard
LaTeX: _\text{} not recognized properly
trafficstars
While using markview.nvim, I realized that when writing something like $H_\text{max}$ in markdown, the \text{} was not correctly (?) parsed, giving the result:
Even when trying something like $H_{\text{max}}$, the result is even worse.
I was suggested to raise an issue for tree-sitter-latex for that problem.
Looks perfectly fine to me, so the issue must be with whatever queries you are using for this conceal (which are not part of this project).