X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/dc9e985df1102c9204690a15596eaef07d9cfbb3..fd74fcdff5cf237083beb93a7f7f1c5657c8dfa5:/syntax/markdown.vim?ds=sidebyside diff --git a/syntax/markdown.vim b/syntax/markdown.vim index f14c867..46eb5a9 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -34,19 +34,26 @@ 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