feat(latex): set url attribute for hyperlinks

Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
This commit is contained in:
Jonas Dujava 2024-09-01 17:15:59 +02:00 committed by Christian Clason
parent aa339f6ab6
commit 4e47268c6d

View file

@ -112,10 +112,11 @@
command: _ @function.macro @nospell
keys: (curly_group_text_list) @markup.link @nospell)
(hyperlink
((hyperlink
command: _ @function @nospell
uri: (curly_group_uri
(_) @markup.link.url @nospell))
(_) @markup.link.url @nospell)) @_hyperlink
(#set! @_hyperlink url @markup.link.url))
(glossary_entry_definition
command: _ @function.macro @nospell