From 7c0578d6e84384c280a714b99d7ec08c3d45cda9 Mon Sep 17 00:00:00 2001 From: Hiroshi Shirosaki Date: Thu, 17 Mar 2016 13:15:53 +0900 Subject: [PATCH 1/1] Fix tex.vim syntax conceal tex.vim syntax matches start and end delimiters so that syntax conceal works properly. Fix #272 --- syntax/markdown.vim | 4 +-- test/syntax.vader | 80 ++++++++++++++++++++++++++++++++++----------- 2 files changed, 63 insertions(+), 21 deletions(-) diff --git a/syntax/markdown.vim b/syntax/markdown.vim index 3d8fc6f..114b92b 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -140,8 +140,8 @@ endif if get(g:, 'vim_markdown_math', 0) syn include @tex syntax/tex.vim - syn region mkdMath matchgroup=mkdDelimiter start="\\\@