X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/34de7d90c2f3f19f06e038ad4449d2825fbab941..4b8f631148d5ed7830cc34a7aa91ef71ea253f84:/syntax/mkd.vim diff --git a/syntax/mkd.vim b/syntax/mkd.vim index 82778c2..4677f65 100644 --- a/syntax/mkd.vim +++ b/syntax/mkd.vim @@ -69,7 +69,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="\]" @@ -119,9 +119,14 @@ HtmlHiLink mkdDelimiter Delimiter " Automatically insert bullets setlocal formatoptions+=r +" Do not automatically insert bullets when auto-wrapping with text-width +setlocal formatoptions-=c " Accept various markers as bullets setlocal comments=b:*,b:+,b:- +" Automatically continue blockquote on line break +setlocal comments+=b:> + let b:current_syntax = "mkd" delcommand HtmlHiLink