X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/72dfb0cd388e314fae14e8a925648b6f1957effc..d6a3b09139a715bc39e0a16ad1924ac3d9fcc216:/after/ftplugin/mkd.vim?ds=sidebyside 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