X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/deafb5766fcc2d0686020a98854df2239102986f..65a5391f576066792cf7c22d3e1b8810619ae119:/syntax/markdown.vim?ds=sidebyside diff --git a/syntax/markdown.vim b/syntax/markdown.vim index 92ff871..c9e4772 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -53,8 +53,13 @@ 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 @@ -69,9 +74,9 @@ syn match mkdLineBreak / \+$/ syn region mkdBlockquote start=/^\s*>/ end=/$/ contains=mkdLineBreak,mkdLineContinue,@Spell syn region mkdCode start=/\(\([^\\]\|^\)\\\)\@]*>" end="" syn region mkdCode start="]*>" end="" syn region mkdFootnote start="\[^" end="\]"