X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/7b9d253b873aeff35abec8a22756dce0c924fe9e..fd3418394f486198db31b5a07596e6fd2bf09479:/mkd.vim?ds=sidebyside diff --git a/mkd.vim b/mkd.vim index 35dfea9..f5a1cfe 100644 --- a/mkd.vim +++ b/mkd.vim @@ -54,7 +54,7 @@ syn match mkdRule /^\s*-\{3,}$/ syn match mkdRule /^\s*\*\{3,5}$/ syn match mkdListItem "^\s*[-*+]\s\+" syn match mkdListItem "^\s*\d\+\.\s\+" -syn match mkdCode /^\s*\n\(\(\s\{4,}\|[\t]\+\)[^*-+ ].*\n\)\+/ +syn match mkdCode /^\s*\n\(\(\s\{4,}[^ ]\|\t\+[^\t]\).*\n\)\+/ syn region mkdCode start=/`/ end=/`/ syn region mkdCode start=/\s*``[^`]*/ end=/[^`]*``\s*/ syn region mkdBlockquote start=/^\s*>/ end=/$/ contains=mkdLineContinue,@Spell