]> git.madduck.net Git - etc/vim.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Switch to expression-based folding.
authorBen Williams <bwilliams@gryphonnetworks.com>
Thu, 15 Nov 2012 20:48:44 +0000 (15:48 -0500)
committerBen Williams <bwilliams@gryphonnetworks.com>
Thu, 15 Nov 2012 20:48:44 +0000 (15:48 -0500)
commit20704d86a0ae043664f3facca84a61eded05de6e
tree750cd5017c4e5487c4a5f26b4097fe4ca897d7f6
parent3299dc841b1bc21d4ecb02b17886790f578e951e
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
after/ftplugin/mkd.vim [new file with mode: 0644]
syntax/mkd.vim