mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 06:20:01 -04:00
highlights(markdown): image_description as reference
This commit is contained in:
parent
2a49c05f66
commit
ab691444ce
1 changed files with 5 additions and 4 deletions
|
|
@ -13,7 +13,6 @@
|
|||
(setext_h2_underline)
|
||||
] @punctuation.special
|
||||
|
||||
|
||||
[
|
||||
(code_span)
|
||||
(link_title)
|
||||
|
|
@ -31,8 +30,11 @@
|
|||
|
||||
(link_destination) @text.uri
|
||||
|
||||
(link_label) @text.reference
|
||||
(link_text) @text.reference
|
||||
[
|
||||
(link_label)
|
||||
(link_text)
|
||||
(image_description)
|
||||
] @text.reference
|
||||
|
||||
[
|
||||
(list_marker_plus)
|
||||
|
|
@ -48,7 +50,6 @@
|
|||
(hard_line_break)
|
||||
] @string.escape
|
||||
|
||||
|
||||
(image "!" @punctuation.delimiter)
|
||||
(image "[" @punctuation.delimiter)
|
||||
(image "]" @punctuation.delimiter)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue