X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/d738a9b17f4cbb8cee0889d90f1c6858e1ee7826..d8309be06a202b1bd6a9a2dd8eacc6e9b10e459b:/syntax/markdown.vim diff --git a/syntax/markdown.vim b/syntax/markdown.vim index c21d639..46eb5a9 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -34,9 +34,16 @@ syn spell toplevel syn case ignore syn sync linebreaks=1 +let s:conceal = '' +let s:concealends = '' +if has('conceal') + let s:conceal = ' conceal' + let s:concealends = ' concealends' +endif + "additions to HTML groups -syn region htmlItalic 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