X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/529ba45874058c7a6e3fb2c1500623d452e02a32..603358d099cddfb732ded4ccdb868944025b4cf5:/syntax/mkd.vim diff --git a/syntax/mkd.vim b/syntax/mkd.vim index 38c3502..01bb945 100644 --- a/syntax/mkd.vim +++ b/syntax/mkd.vim @@ -94,7 +94,16 @@ syn region htmlH6 start="^\s*######" end="\($\|#\+\)" contain syn match htmlH1 /^.\+\n=\+$/ contains=@Spell syn match htmlH2 /^.\+\n-\+$/ contains=@Spell -syn cluster mkdNonListItem contains=htmlItalic,htmlBold,htmlBoldItalic,mkdFootnotes,mkdLink,mkdLinkDef,mkdLineBreak,mkdBlockquote,mkdCode,mkdIndentCode,mkdListItem,mkdRule,htmlH1,htmlH2,htmlH3,htmlH4,htmlH5,htmlH6 +if get(g:, 'vim_markdown_math', 0) + syn region mkdMath matchgroup=mkdDelimiter start="\\\@