From 1c88deeee0682b508a419640f4eb353ed014f755 Mon Sep 17 00:00:00 2001 From: Maxim Kim Date: Tue, 18 Jun 2013 18:43:03 +0400 Subject: [PATCH] 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. --- plugin/vimwiki.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugin/vimwiki.vim b/plugin/vimwiki.vim index 12bcf19..40b7045 100644 --- a/plugin/vimwiki.vim +++ b/plugin/vimwiki.vim @@ -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.