nvim: Change default foldlevel to 3

Previously, the foldlevel of 2 would still display second level markdown
headlines (`##`) but fold `###`.

However, most of my text analyses are taking place within 3rd level
headlines nowadays, and if vim-pandoc is allowed to have folds enabled,
it will always fold everything beyond the foldlevel *each* time you
enter a buffer of pandoc filetype.

So, simply up the foldlevel one.
This commit is contained in:
Marty Oehme 2020-10-09 22:07:30 +02:00
parent 65df0fb91f
commit 4dd80b7fe1
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -7,7 +7,7 @@ function! s:Prose()
call textobj#sentence#init() call textobj#sentence#init()
" hide the markdown cruft " hide the markdown cruft
setlocal conceallevel=2 setlocal conceallevel=2
setlocal foldlevel=2 setlocal foldlevel=3
endfunction endfunction
" invoke it manually by writing :Prose " invoke it manually by writing :Prose