diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-06-25 13:38:07 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-06-25 13:38:15 +0200 |
commit | abca7c20144a1aa0c0197e17cacd892e3ff99ff2 (patch) | |
tree | 571bb7b6905b1d42e8a269c2cb643535904b8ec7 /syntax/markdown.vim | |
parent | 8b6c06e7239eb46d5b5096fd7fe9507aca88b091 (diff) | |
download | vim-polyglot-abca7c20144a1aa0c0197e17cacd892e3ff99ff2.tar.gz vim-polyglot-abca7c20144a1aa0c0197e17cacd892e3ff99ff2.zip |
Update
Diffstat (limited to 'syntax/markdown.vim')
-rw-r--r-- | syntax/markdown.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/syntax/markdown.vim b/syntax/markdown.vim index 063ba10d..6d240d52 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -72,10 +72,10 @@ execute 'syn region mkdLink matchgroup=mkdDelimiter start="\\\@<!!\?\[\ze[^]\n] " Autolink without angle brackets. " mkd inline links: protocol optional user:pass@ sub/domain .com, .co.uk, etc optional port path/querystring/hash fragment " ------------ _____________________ ----------------------------- _________________________ ----------------- __ -syn match mkdInlineURL /https\?:\/\/\(\w\+\(:\w\+\)\?@\)\?\([A-Za-z0-9][-_0-9A-Za-z]*\.\)\{1,}\(\w\{2,}\.\?\)\{1,}\(:[0-9]\{1,5}\)\?\S*/ +syn match mkdInlineURL /https\?:\/\/\(\w\+\(:\w\+\)\?@\)\?\([A-Za-z0-9][-_0-9A-Za-z]*\.\)\{1,}\(\w\{2,}\.\?\)\{1,}\(:[0-9]\{1,5}\)\?[^] \t]*/ " Autolink with parenthesis. -syn region mkdInlineURL matchgroup=mkdDelimiter start="(\(https\?:\/\/\(\w\+\(:\w\+\)\?@\)\?\([A-Za-z0-9][-_0-9A-Za-z]*\.\)\{1,}\(\w\{2,}\.\?\)\{1,}\(:[0-9]\{1,5}\)\?\S*)\)\@=" end=")" +syn region mkdInlineURL matchgroup=mkdDelimiter start="(\(https\?:\/\/\(\w\+\(:\w\+\)\?@\)\?\([A-Za-z0-9][-_0-9A-Za-z]*\.\)\{1,}\(\w\{2,}\.\?\)\{1,}\(:[0-9]\{1,5}\)\?[^] \t]*)\)\@=" end=")" " Autolink with angle brackets. syn region mkdInlineURL matchgroup=mkdDelimiter start="\\\@<!<\ze[a-z][a-z0-9,.-]\{1,22}:\/\/[^> ]*>" end=">" |