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
1 changed files with 1 additions and 1 deletions

View File

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