This commit is contained in:
2026-01-31 20:54:33 -05:00
parent 8649105660
commit 15b75b7f45
2 changed files with 21 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
setlocal textwidth=80
setlocal wrap
setlocal linebreak
setlocal nolist
setlocal spell
setlocal spelllang=en_us
setlocal conceallevel=2
setlocal concealcursor=nv
setlocal foldmethod=expr
setlocal foldexpr=MarkdownFold()
setlocal autoindent
setlocal shiftwidth=2
setlocal tabstop=2
setlocal expandtab
function! MarkdownFold()
if getline(v:lnum) =~ '^#'
return '>' . (strlen(matchstr(getline(v:lnum), '^#*')) + 1)
endif
return '='
endfunction