Add option for enabling local folding settings

Ref #321
This commit is contained in:
EinfachToll
2017-03-31 21:38:32 +02:00
parent 013f699de8
commit 13f82dbaac
2 changed files with 4 additions and 0 deletions

View File

@ -167,6 +167,8 @@ function! s:setup_buffer_enter() "{{{
elseif g:vimwiki_folding ==? 'syntax'
setlocal fdm=syntax
setlocal foldtext=VimwikiFoldText()
elseif g:vimwiki_folding ==? 'custom'
" do nothing
else
setlocal fdm=manual
normal! zE