X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/84b57ac77cce6f37a87a1575c98e3dfce338c7ee..1b32329c8a880d039661efe87fc0a5f1171d44ae:/syntax/markdown.vim?ds=inline diff --git a/syntax/markdown.vim b/syntax/markdown.vim index 39d5e53..92c6c56 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