Skip to content

Commit

Permalink
Merge branches 'fix-header-underline-parsing' and 'enh-fold-horizonta…
Browse files Browse the repository at this point in the history
…l-rules'
  • Loading branch information
inkarkat committed Dec 13, 2012
2 parents 9f8cdee + eca3fef commit 70acaa2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions after/ftplugin/markdown/folding.vim
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ function! HeadingDepth(lnum)
let hashCount = len(matchstr(thisline, '^#\{1,6}'))
if hashCount > 0
let level = hashCount
elseif thisline =~ '^\([-_*]\) *\1 *\1\%(\1\| \)*$' && (thisline !~ '^-\{3,} *$' || getline(a:lnum - 1) =~ '^\s*$')
let level = 7
else
if thisline != ''
let nextline = getline(a:lnum + 1)
Expand Down

0 comments on commit 70acaa2

Please sign in to comment.