From 4f0120ec663e5b4a386563930ffbbea1f22d9029 Mon Sep 17 00:00:00 2001 From: Sebastian Klatt Date: Thu, 19 Nov 2015 02:04:30 +0100 Subject: [PATCH 1/1] Use tex syntax for inline math * Fix yaml interference * Add unittest --- syntax/markdown.vim | 11 ++++++----- test/syntax.vader | 12 ++++++++++++ 2 files changed, 18 insertions(+), 5 deletions(-) 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="\\\@