From ab691444ce49e3f015225154f6c3b78837b1da86 Mon Sep 17 00:00:00 2001 From: numToStr Date: Fri, 7 Jan 2022 13:48:23 +0530 Subject: [PATCH] highlights(markdown): `image_description` as reference --- queries/markdown/highlights.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/queries/markdown/highlights.scm b/queries/markdown/highlights.scm index 1f017d9c1..34197182c 100644 --- a/queries/markdown/highlights.scm +++ b/queries/markdown/highlights.scm @@ -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)