From: Hiroshi Shirosaki Date: Wed, 16 Mar 2016 00:24:18 +0000 (+0900) Subject: Fix math syntax highlighting after end pattern X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/46cd31363f3dc0001374f736dcc1b5bbd735599f?ds=sidebyside;hp=--cc Fix math syntax highlighting after end pattern Add keepend to match end of the region. Fix #271 --- 46cd31363f3dc0001374f736dcc1b5bbd735599f diff --git a/syntax/markdown.vim b/syntax/markdown.vim index 0dbf49a..1614d7b 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="\\\@