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 <jonas.dujava@gmail.com>
This commit is contained in:
Jonáš Dujava 2024-10-14 15:33:36 +02:00 committed by GitHub
parent 5a2ff8b7ca
commit 245ffff7ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -146,7 +146,7 @@
(color_reference
command: _ @function.macro
name: (curly_group_text
(_) @markup.link))
(_) @markup.link)?)
; Sectioning
(title_declaration