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:
parent
5faf884dc6
commit
1c88deeee0
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user