]> 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:

Add support for python-mode style folding
authorKit La Touche <kit@simpleenergy.com>
Tue, 12 May 2015 17:17:15 +0000 (11:17 -0600)
committerKit La Touche <klatouche@sensoryinc.com>
Fri, 11 Dec 2015 21:39:18 +0000 (14:39 -0700)
commitd446595f9e690e9f50eeda0f0e144320ccca72dc
treecb3789826fbb7dc4e3a6882f44019f0494b16f49
parentbd875ab511fafa4504f36852a42927ef9c0e1fd1
Add support for python-mode style folding

As a python-mode user in my day-to-day work, I would like the folding
styles of vim-markdown and python-mode to match, so that there's less
cognitive overhead in switching between my two most frequently-used
contexts.

To this end, I've made a distinct set of folding logic, keyed off of the
g:vim_markdown_folding_style_pythonic variable, so that using this style
is opt-in.
README.md
after/ftplugin/markdown.vim
test/python-folding.vader [new file with mode: 0644]