X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/276518b9371261efbbdb2f370f33f3cb8e8371d2..83815ac295d3e6e53f48312e8af6814320edcfde:/syntax/mkd.vim diff --git a/syntax/mkd.vim b/syntax/mkd.vim index 8ace27c..c4ceec4 100644 --- a/syntax/mkd.vim +++ b/syntax/mkd.vim @@ -66,7 +66,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="\]" @@ -114,6 +114,11 @@ HtmlHiLink mkdLinkTitle htmlString HtmlHiLink mkdDelimiter Delimiter +" Automatically insert bullets +setlocal formatoptions+=r +" Accept various markers as bullets +setlocal comments=b:*,b:+,b:- + let b:current_syntax = "mkd" delcommand HtmlHiLink