aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/latex/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/latex/highlights.scm b/queries/latex/highlights.scm
index c0f0bb2ba..956c753f7 100644
--- a/queries/latex/highlights.scm
+++ b/queries/latex/highlights.scm
@@ -67,7 +67,7 @@
(environment_definition
command: _ @function.macro @nospell
name: (curly_group_text
- (_) @markup.link))
+ (_) @label @nospell))
(theorem_definition
command: _ @function.macro @nospell