X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/d738a9b17f4cbb8cee0889d90f1c6858e1ee7826..31f209886ce824a5a998e932359f77f9aac5d289:/syntax/markdown.vim diff --git a/syntax/markdown.vim b/syntax/markdown.vim index c21d639..ec12ef6 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -57,7 +57,7 @@ syntax match mkdInlineURL /https\?:\/\/\(\w\+\(:\w\+\)\?@\)\?\([A-Za-z][-_0-9A syntax region mkdInlineURL matchgroup=mkdDelimiter start="(\(https\?:\/\/\(\w\+\(:\w\+\)\?@\)\?\([A-Za-z][-_0-9A-Za-z]*\.\)\{1,}\(\w\{2,}\.\?\)\{1,}\(:[0-9]\{1,5}\)\?\S*)\)\@=" end=")" " Autolink with angle brackets. -syn region mkdInlineURL matchgroup=mkdDelimiter start="\\\@ ]*>\)\@=" end=">" +syn region mkdInlineURL matchgroup=mkdDelimiter start="\\\@ ]*>" end=">" " Link definitions: [id]: URL (Optional Title) syn region mkdLinkDef matchgroup=mkdDelimiter start="^ \{,3}\zs\[" end="]:" oneline nextgroup=mkdLinkDefTarget skipwhite