X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/d8309be06a202b1bd6a9a2dd8eacc6e9b10e459b..3522dd502b500365afe4462241921216f1d3ec1d:/syntax/markdown.vim diff --git a/syntax/markdown.vim b/syntax/markdown.vim index 46eb5a9..e4c0068 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -42,18 +42,18 @@ if has('conceal') endif "additions to HTML groups -syn region htmlItalic start="\\\@]*>" end="" syn region mkdCode start="]*>" end="" syn region mkdFootnote start="\[^" end="\]" syn match mkdCode /^\s*\n\(\(\s\{8,}[^ ]\|\t\t\+[^\t]\).*\n\)\+/ +syn match mkdCode /\%^\(\(\s\{4,}[^ ]\|\t\+[^\t]\).*\n\)\+/ syn match mkdCode /^\s*\n\(\(\s\{4,}[^ ]\|\t\+[^\t]\).*\n\)\+/ contained syn region mkdListItemLine matchgroup=mkdListItem start="^\s*\%([-*+]\|\d\+\.\)\s\+" end="$" contains=@mkdNonListItem,@Spell syn region mkdNonListItemBlock start="\(\%^\(\s*\([-*+]\|\d\+\.\)\s\+\)\@!\|\n\(\_^\_$\|\s\{4,}[^ ]\|\t+[^\t]\)\@!\)" end="^\(\s*\([-*+]\|\d\+\.\)\s\+\)\@=" contains=@mkdNonListItem,@Spell