X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/5da9db319c1c4382c8f9f55b3bf12917f001fbd7..d34f4d8edf7e93f54a0e1c6d41c85e557db71ee7:/syntax/mkd.vim?ds=inline diff --git a/syntax/mkd.vim b/syntax/mkd.vim index 4677f65..19d59d5 100644 --- a/syntax/mkd.vim +++ b/syntax/mkd.vim @@ -94,7 +94,12 @@ 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,mkdID,mkdURL,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="\\\@