From 245ffff7ac1f4aab19cb31d5ca3251d003a67e20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Dujava?= Date: Mon, 14 Oct 2024 15:33:36 +0200 Subject: [PATCH] fix(latex): capture nameless color change (#7243) Color can be changed by directly passing color `model` and `spec`, so make the `name` field optional. Signed-off-by: Jonas Dujava --- queries/latex/highlights.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queries/latex/highlights.scm b/queries/latex/highlights.scm index 048c8609f..c39cd1b14 100644 --- a/queries/latex/highlights.scm +++ b/queries/latex/highlights.scm @@ -146,7 +146,7 @@ (color_reference command: _ @function.macro name: (curly_group_text - (_) @markup.link)) + (_) @markup.link)?) ; Sectioning (title_declaration