vim:ftplug:md: Add ! to MdSectionFold definition
This commit is contained in:
@@ -6,7 +6,7 @@ setlocal formatoptions+=aw
|
|||||||
setlocal wrap
|
setlocal wrap
|
||||||
|
|
||||||
" Fold by sections
|
" Fold by sections
|
||||||
function MdSectionFold()
|
function! MdSectionFold()
|
||||||
let depth = len(matchstr(getline(v:lnum), '^#*'))
|
let depth = len(matchstr(getline(v:lnum), '^#*'))
|
||||||
return depth ? ">" . depth : "="
|
return depth ? ">" . depth : "="
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user