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

Intermediate fix for indenting huge dicts
authorDaniel Hahler <git@thequod.de>
Thu, 5 Oct 2017 21:12:24 +0000 (23:12 +0200)
committerDaniel Hahler <git@thequod.de>
Sat, 7 Oct 2017 19:45:52 +0000 (21:45 +0200)
commitd6c602fcad59f58df00dc86e2609c9791a19ba71
tree2594c3f673ba2987d6215d74ec380441db98e9c1
parente1b71a2f196d566a81c85d1bce02acb8d252086c
Intermediate fix for indenting huge dicts

This uses different offsets for the type of pairs: '()' and '[]' will
only look for just 20 lines above, while 1000 lines are used for '{}',
which might be a huge dict.

Ref: https://github.com/Vimjas/vim-python-pep8-indent/pull/64.
indent/python.vim