diff options
| author | Jonas Dujava <jonas.dujava@gmail.com> | 2024-09-01 17:15:59 +0200 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-09-01 17:26:13 +0200 |
| commit | 4e47268c6dbbc72d53c651f393a612c3e4a3f84e (patch) | |
| tree | df9f9db1db60f37846fbdcb80776dc74e9937e55 | |
| parent | bot(lockfile): update http, styled, swift (diff) | |
| download | nvim-treesitter-4e47268c6dbbc72d53c651f393a612c3e4a3f84e.tar nvim-treesitter-4e47268c6dbbc72d53c651f393a612c3e4a3f84e.tar.gz nvim-treesitter-4e47268c6dbbc72d53c651f393a612c3e4a3f84e.tar.bz2 nvim-treesitter-4e47268c6dbbc72d53c651f393a612c3e4a3f84e.tar.lz nvim-treesitter-4e47268c6dbbc72d53c651f393a612c3e4a3f84e.tar.xz nvim-treesitter-4e47268c6dbbc72d53c651f393a612c3e4a3f84e.tar.zst nvim-treesitter-4e47268c6dbbc72d53c651f393a612c3e4a3f84e.zip | |
feat(latex): set url attribute for hyperlinks
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
| -rw-r--r-- | queries/latex/highlights.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/queries/latex/highlights.scm b/queries/latex/highlights.scm index 9b36634e6..5a18e0203 100644 --- a/queries/latex/highlights.scm +++ b/queries/latex/highlights.scm @@ -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 |
