From: Hiroshi Shirosaki Date: Tue, 19 Jan 2016 02:26:25 +0000 (+0900) Subject: Remove ' in regexp pattern of url X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/84b57ac77cce6f37a87a1575c98e3dfce338c7ee?hp=--cc Remove ' in regexp pattern of url --- 84b57ac77cce6f37a87a1575c98e3dfce338c7ee diff --git a/syntax/markdown.vim b/syntax/markdown.vim index c21d639..39d5e53 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