X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/5cd2223d4eec545745f729142197e839135cce94..fe1eae8a04545e915bd15d6b0018431aa7ccafe5:/indent/mkd.vim?ds=inline diff --git a/indent/mkd.vim b/indent/mkd.vim index a26ac0e..21b8397 100755 --- a/indent/mkd.vim +++ b/indent/mkd.vim @@ -10,7 +10,8 @@ setlocal autoindent if exists("*GetMkdIndent") | finish | endif function! s:is_li_start(line) - return a:line =~ '^\s*[\*+-]' + return a:line !~ '^ *\([*-]\)\%( *\1\)\{2}\%( \|\1\)*$' && + \ a:line =~ '^\s*[*+-] \+' endfunction function! s:is_blank_line(line)