@@ -4429,9 +4429,12 @@ contexts:
44294429 # GitHub Flavoured Markdown
44304430 # After a valid domain, zero or more non-space non-< characters may follow
44314431 # https://github.github.com/gfm/#autolinks-extension-
4432- - match : (?:(?: https|http|ftp)(://)| www\.)[\w-]+
4432+ - match : (https|http|ftp)(://)( www\.)?|(www\.)
44334433 captures :
4434- 1 : punctuation.separator.path.markdown
4434+ 1 : markup.underline.link.protocol.markdown-gfm
4435+ 2 : markup.underline.link.protocol.markdown-gfm punctuation.separator.path.markdown
4436+ 3 : markup.underline.link.www.markdown-gfm
4437+ 4 : markup.underline.link.www.markdown-gfm
44354438 push : autolink-inet-unquoted-content
44364439
44374440 autolink-inet-angled-content :
@@ -4446,7 +4449,8 @@ contexts:
44464449 - include : autolink-inet-common
44474450
44484451 autolink-inet-unquoted-content :
4449- - meta_scope : meta.link.inet.markdown markup.underline.link.markdown-gfm
4452+ - meta_scope : meta.link.inet.markdown
4453+ - meta_content_scope : markup.underline.link.markdown-gfm
44504454 # 1. When an autolink ends in ), we scan the entire autolink for the total
44514455 # number of parentheses. If there is a greater number of closing parentheses
44524456 # than opening ones, we don't consider the last character part of the
0 commit comments