Skip to content

Commit bec25bc

Browse files
committed
add a separate scope to URL protocol
1 parent feaa639 commit bec25bc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

syntaxes/Markdown.sublime-syntax

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3531,9 +3531,10 @@ contexts:
35313531
# Github Flavoured Markdown
35323532
# After a valid domain, zero or more non-space non-< characters may follow
35333533
# https://github.github.com/gfm/#autolinks-extension-
3534-
- match: (?:(?:https|http|ftp)(://)|www\.)[\w-]+
3534+
- match: (?:(https|http|ftp)(://)|www\.)[\w-]+
35353535
captures:
3536-
1: punctuation.separator.path.markdown
3536+
1: markup.underline.link.protocol
3537+
2: punctuation.separator.path.markdown
35373538
push: autolink-inet-unquoted-content
35383539

35393540
autolink-inet-angled-content:

0 commit comments

Comments
 (0)