From: Sebastian Klatt Date: Thu, 19 Nov 2015 01:04:30 +0000 (+0100) Subject: Use tex syntax for inline math X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/4f0120ec663e5b4a386563930ffbbea1f22d9029?ds=inline;hp=0d3a44116bc9453fb485865873f9f153018c1862 Use tex syntax for inline math * Fix yaml interference * Add unittest --- diff --git a/syntax/markdown.vim b/syntax/markdown.vim index ebe10f7..9041ab1 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -96,17 +96,18 @@ syn region htmlH6 start="^\s*######" end="$" contains=@Spell syn match htmlH1 /^.\+\n=\+$/ contains=@Spell syn match htmlH2 /^.\+\n-\+$/ contains=@Spell -if get(g:, 'vim_markdown_math', 0) - syn region mkdMath matchgroup=mkdDelimiter start="\\\@