X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/baece901af045d6332731417cef3adc2a9c03d6c..0c61f835a73119eb80e68d27cf95136c36aa092b:/syntax/mkd.vim?ds=sidebyside diff --git a/syntax/mkd.vim b/syntax/mkd.vim index 38c3502..eb87165 100644 --- a/syntax/mkd.vim +++ b/syntax/mkd.vim @@ -94,7 +94,18 @@ 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="\\\@