From 2213b7b0fcf07f6917313ce4b5db979a40acf1cb Mon Sep 17 00:00:00 2001 From: Yosuke OTA Date: Tue, 17 Jun 2014 04:06:42 +0900 Subject: [PATCH 1/1] Fix folding bug if folding disabled option is 0 --- after/ftplugin/mkd.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/after/ftplugin/mkd.vim b/after/ftplugin/mkd.vim index 26ccb23..6026ae8 100644 --- a/after/ftplugin/mkd.vim +++ b/after/ftplugin/mkd.vim @@ -36,7 +36,7 @@ func! Foldexpr_markdown(lnum) endfunc -if !exists("g:vim_markdown_folding_disabled") +if !get(g:, "vim_markdown_folding_disabled", 0) setlocal foldexpr=Foldexpr_markdown(v:lnum) setlocal foldmethod=expr -- 2.39.5