Issue 415: No-folding configuration ignored.

When g:vimwiki_folding is set to '' there should be no folding no matter
what foldmethod you have in your .vimrc.
This commit is contained in:
Maxim Kim 2013-06-18 18:43:03 +04:00
parent 5faf884dc6
commit 1c88deeee0

View File

@ -208,6 +208,9 @@ function! s:setup_buffer_enter() "{{{
elseif g:vimwiki_folding == 'syntax'
setlocal fdm=syntax
setlocal foldtext=VimwikiFoldText()
else
setlocal fdm=manual
exe "normal zE"
endif
" And conceal level too.