From: Ben Williams Date: Thu, 15 Nov 2012 20:48:44 +0000 (-0500) Subject: Switch to expression-based folding. X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/20704d86a0ae043664f3facca84a61eded05de6e?ds=sidebyside;hp=20704d86a0ae043664f3facca84a61eded05de6e Switch to expression-based folding. Syntax-based folding was way too slow in very large Markdown files. Add a new file after/ftplugin/mkd.vim with a foldexpr function to determine folds. The function is based on Steve Losh's gist at https://gist.github.com/1038710 ---