X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/fdf78014dbb9f1c701e538a0ea29f9c536c91448..b8f5e31cc406a811b24d9d45db5ebf220ab4735b:/syntax/markdown.vim diff --git a/syntax/markdown.vim b/syntax/markdown.vim index 5ee9cc4..e7b6e2e 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -46,15 +46,20 @@ syn region htmlBoldItalic start="\S\@<=___\|___\S\@=" end="\S\@<=___\|___\S\@=" syn region mkdFootnotes matchgroup=mkdDelimiter start="\[^" end="\]" syn region mkdID matchgroup=mkdDelimiter start="\[" end="\]" contained oneline syn region mkdURL matchgroup=mkdDelimiter start="(" end=")" contained oneline -syn region mkdLink matchgroup=mkdDelimiter start="\\\@ ]*>\)\@=" end=">" +execute '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