vim:ftplug:md: Add ! to MdSectionFold definition

This commit is contained in:
2024-09-21 00:30:40 +02:00
parent 4c26fd98af
commit 43bca5f51e

View File

@@ -6,7 +6,7 @@ setlocal formatoptions+=aw
setlocal wrap
" Fold by sections
function MdSectionFold()
function! MdSectionFold()
let depth = len(matchstr(getline(v:lnum), '^#*'))
return depth ? ">" . depth : "="
endfunction