From: Leonid Shvechikov Date: Sat, 14 Dec 2013 01:37:22 +0000 (+0700) Subject: mkdCode start (syntax name) could contain hyphen X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/83815ac295d3e6e53f48312e8af6814320edcfde mkdCode start (syntax name) could contain hyphen E.g.: ```no-highlight bla-bla ``` --- diff --git a/syntax/mkd.vim b/syntax/mkd.vim index 575466b..c4ceec4 100644 --- a/syntax/mkd.vim +++ b/syntax/mkd.vim @@ -66,7 +66,7 @@ syn match mkdLineBreak / \+$/ syn region mkdBlockquote start=/^\s*>/ end=/$/ contains=mkdLineBreak,mkdLineContinue,@Spell syn region mkdCode start=/\(\([^\\]\|^\)\\\)\@]*>" end="" syn region mkdCode start="]*>" end="" syn region mkdFootnote start="\[^" end="\]"