diff --git a/queries/latex/highlights.scm b/queries/latex/highlights.scm index e1772ca16..92e242508 100644 --- a/queries/latex/highlights.scm +++ b/queries/latex/highlights.scm @@ -105,7 +105,6 @@ [ (displayed_equation) (inline_formula) - (math_set) ] @text.math (math_environment @@ -113,6 +112,9 @@ command: _ @text.math name: (curly_group_text (text) @text.math))) +(math_environment + (text) @text.math) + (math_environment (end command: _ @text.math