aboutsummaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/latex/highlights.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/queries/latex/highlights.scm b/runtime/queries/latex/highlights.scm
index ec39afcf5..30602c907 100644
--- a/runtime/queries/latex/highlights.scm
+++ b/runtime/queries/latex/highlights.scm
@@ -92,9 +92,9 @@
(label_reference_range
command: _ @function.macro
- from: (curly_group_text
+ from: (curly_group_label
(_) @markup.link)
- to: (curly_group_text
+ to: (curly_group_label
(_) @markup.link))
(label_reference
@@ -104,7 +104,7 @@
(label_number
command: _ @function.macro
- name: (curly_group_text
+ name: (curly_group_label
(_) @markup.link)
number: (_) @markup.link)