X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/d8309be06a202b1bd6a9a2dd8eacc6e9b10e459b..1d04101ca7e3de1b622f356e33cfbaeb5e358bc9:/syntax/markdown.vim diff --git a/syntax/markdown.vim b/syntax/markdown.vim index 46eb5a9..67043a1 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