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