Skip to content

Commit

Permalink
Rename to @link.uri
Browse files Browse the repository at this point in the history
  • Loading branch information
chbk committed Feb 21, 2025
1 parent aac56fd commit 2f911cd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion crates/languages/src/gitcommit/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
(path) @string.special.path
(branch) @string.special.symbol
(commit) @constant
(item) @markup.link.url
(item) @link.uri.markup
(header) @tag

(change kind: "new file" @diff.plus)
Expand Down
6 changes: 3 additions & 3 deletions crates/languages/src/markdown-inline/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
(image)
] @link.markup

(inline_link ["(" ")"] @markup.link.url)
(image ["(" ")"] @markup.link.url)
(inline_link ["(" ")"] @link.uri.markup)
(image ["(" ")"] @link.uri.markup)
[
(link_destination)
(uri_autolink)
(email_autolink)
] @markup.link.url
] @link.uri.markup
2 changes: 1 addition & 1 deletion crates/languages/src/markdown/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
(fenced_code_block_delimiter) @punctuation.embedded.markup

(link_reference_definition) @link.markup
(link_destination) @markup.link.url
(link_destination) @link.uri.markup

0 comments on commit 2f911cd

Please sign in to comment.