From: Hiroshi Shirosaki Date: Thu, 17 Jan 2019 05:12:44 +0000 (+0900) Subject: Fix code quotes when ending with backslash X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/5c9ce6b5230654c73d3bc3311f9dff7c4404f228?ds=sidebyside;hp=-c Fix code quotes when ending with backslash Backslash inside of a backtick should not escape a backtick. Fix #311 --- 5c9ce6b5230654c73d3bc3311f9dff7c4404f228 diff --git a/syntax/markdown.vim b/syntax/markdown.vim index 86b10b0..d0077a4 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -98,7 +98,7 @@ syn match htmlH2 /^.\+\n-\+$/ contains=mkdLink,mkdInlineURL,@Spell "define Markdown groups syn match mkdLineBreak / \+$/ syn region mkdBlockquote start=/^\s*>/ end=/$/ contains=mkdLink,mkdInlineURL,mkdLineBreak,@Spell -execute 'syn region mkdCode matchgroup=mkdCodeDelimiter start=/\(\([^\\]\|^\)\\\)\@