mirror of
https://github.com/nvim-treesitter/nvim-treesitter
synced 2024-09-16 14:34:05 +02:00
feat(latex): set url attribute for hyperlinks
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
This commit is contained in:
parent
aa339f6ab6
commit
4e47268c6d
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue