X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/e7f9c8699d72f22cb873c3666c8ef84e9462c787..2a58c2fa2c9a0ef3d475c71fe016a02fc10f0ad0:/syntax/mkd.vim diff --git a/syntax/mkd.vim b/syntax/mkd.vim index 82778c2..e10bbc3 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,6 +119,8 @@ 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:-