X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/4f0120ec663e5b4a386563930ffbbea1f22d9029..21152904788bb285019ae619db89b475bc378cc2:/syntax/markdown.vim diff --git a/syntax/markdown.vim b/syntax/markdown.vim index 9041ab1..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="\]" @@ -128,7 +133,6 @@ HtmlHiLink mkdID Identifier HtmlHiLink mkdLinkDef mkdID HtmlHiLink mkdLinkDefTarget mkdURL HtmlHiLink mkdLinkTitle htmlString -HtmlHiLink mkdMath Statement HtmlHiLink mkdDelimiter Delimiter let b:current_syntax = "mkd"