aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/latex/highlights.scm4
1 files changed, 3 insertions, 1 deletions
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
@@ -114,6 +113,9 @@
name: (curly_group_text (text) @text.math)))
(math_environment
+ (text) @text.math)
+
+(math_environment
(end
command: _ @text.math
name: (curly_group_text (text) @text.math)))